home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Graphics Studio: Home Publishing 99 / [Microsoft Graphics Studio] Home Publishing 99 (Blue) Disk 2.iso / mhp / template / ees3017.mta / ees3017.MTA
Text File  |  1998-08-10  |  67KB  |  2,183 lines

  1. MIME-Version: 1.0
  2. Content-Type: multipart/related;
  3.     boundary="----=_NextPart_000_02B4_01BDBE5C.4DED54F0";
  4.     type="multipart/alternative"
  5. X-MMEditor: 00.00.02.1994,MinSave
  6. X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
  7.  
  8. This is a multi-part message in MIME format.
  9.  
  10. ------=_NextPart_000_02B4_01BDBE5C.4DED54F0
  11. Content-Type: multipart/alternative;
  12.     boundary="----=_NextPart_001_02B5_01BDBE5C.4DED54F0"
  13.  
  14.  
  15. ------=_NextPart_001_02B5_01BDBE5C.4DED54F0
  16. Content-Type: text/plain;
  17.     charset="iso-8859-1"
  18. Content-Transfer-Encoding: 7bit
  19.  
  20.     Your text here.           
  21.  
  22.  
  23. ------=_NextPart_001_02B5_01BDBE5C.4DED54F0
  24. Content-Type: text/html;
  25.     charset="iso-8859-1"
  26. Content-Transfer-Encoding: quoted-printable
  27. Content-Location: 
  28.  
  29. <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
  30. <HTML>
  31. <HEAD>
  32.  
  33. <META content=3D"text/html; charset=3Diso-8859-1" =
  34. http-equiv=3DContent-Type>
  35. <META content=3D"MMEditor Version 00.00.02.1994,MinSave" =
  36. name=3DGENERATOR>
  37. <STYLE id=3DDocStyleSheet>.PreCreateRule {
  38.     POSITION: absolute
  39. }
  40. .DocClientData {
  41.     LEFT: 0px; OVERFLOW: hidden; POSITION: absolute; TOP: 20px; VISIBILITY: =
  42. visible
  43. }
  44. .RuntimeScriptDiv {
  45.     LEFT: -3200px; POSITION: absolute; TOP: -3200px; VISIBILITY: hidden
  46. }
  47. .SoundElementsDiv {
  48.     LEFT: -3200px; POSITION: absolute; TOP: -3200px; VISIBILITY: hidden
  49. }
  50. .Sx1 {
  51.     HEIGHT: 801px; LEFT: 10px; OVERFLOW: hidden; POSITION: absolute; TOP: =
  52. 30px; VISIBILITY: hidden; WIDTH: 571px; Z-INDEX: 100
  53. }
  54. .PD2 {
  55.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  56. 0px; HEIGHT: 800px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: =
  57. inherit; WIDTH: 570px; Z-INDEX: 50
  58. }
  59. .Ix3 {
  60.     BACKGROUND-COLOR: #ffffff; BACKGROUND-IMAGE: =
  61. url(cid:072201bd9572$7ba58f60$6e59389d@a-lingra.dns.microsoft.com); =
  62. BACKGROUND-REPEAT: repeat; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; =
  63. BORDER-RIGHT: 0px; BORDER-TOP: 0px; LEFT: 0px; POSITION: absolute; TOP: =
  64. 0px; VISIBILITY: inherit; Z-INDEX: 51
  65. }
  66. .PD6 {
  67.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  68. 0px; HEIGHT: 814px; LEFT: 97px; POSITION: absolute; TOP: -9px; =
  69. VISIBILITY: hidden; WIDTH: 26px; Z-INDEX: 110
  70. }
  71. .Ix7 {
  72.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  73. 0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
  74. Z-INDEX: 111
  75. }
  76. .PD10 {
  77.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  78. 0px; HEIGHT: 814px; LEFT: 95px; POSITION: absolute; TOP: -12px; =
  79. VISIBILITY: hidden; WIDTH: 26px; Z-INDEX: 100
  80. }
  81. .Ix11 {
  82.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  83. 0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
  84. Z-INDEX: 101
  85. }
  86. .PT12 {
  87.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  88. 0px; HEIGHT: 761px; LEFT: 148px; PADDING-BOTTOM: 9px; PADDING-LEFT: 9px; =
  89. PADDING-RIGHT: 9px; PADDING-TOP: 9px; POSITION: absolute; TOP: 14px; =
  90. VISIBILITY: hidden; WIDTH: 380px; Z-INDEX: 120
  91. }
  92. DIV {
  93.     FONT-FAMILY: Times New Roman
  94. }
  95. </STYLE>
  96.  
  97. <STYLE id=3DFontStyleSheet>@font-face {
  98.     font-family: Tempus Sans ITC;
  99.     =
  100. src:url(cid:02b201bdbe96$fa36d030$ed5d389d@superwonker.dns.microsoft.com)=
  101. ;
  102. }
  103. </STYLE>
  104.  
  105. </HEAD>
  106. <BODY =
  107. background=3Dcid:072201bd9572$7ba58f60$6e59389d@a-lingra.dns.microsoft.co=
  108. m=20
  109. bgColor=3D#c0c0c0 leftMargin=3D0 topMargin=3D0>
  110. <DIV class=3DPreCreateRule id=3DNavigationButtons style=3D"VISIBILITY: =
  111. hidden">
  112. <FORM name=3DNavigationButtonsForm><INPUT name=3DStart type=3Dbutton =
  113. value=3D"Play  >/Replay >"><INPUT name=3DBackward type=3Dbutton =
  114. value=3D"Back  <<"><INPUT name=3DForward type=3Dbutton value=3D"Forward  =
  115. >>"><INPUT name=3DWebpage type=3Dbutton value=3DAbout...><INPUT =
  116. name=3DSceneStatus type=3Dbutton value=3D" Loading... "></FORM></DIV>=20
  117. <DIV class=3DDocClientData id=3DDocClientData Themes =3D=20
  118. " <AR|ARS1| =
  119. <TT|TTa5|TTb0|TTc30803|TTd5|TTe0|TTf30814|TTg5|TTh0|TTi30815|>|>|"=20
  120. lclJ =3D null lclFrench =3D null lclZ =3D 1 lclEnglish =3D 1 skuOE =3D =
  121. null skuGWDelux =3D 1=20
  122. skuGW =3D null KeyWords =3D null OutputStyle =3D "long page for longer =
  123. messages"=20
  124. ProjectType =3D "multimedia greeting" AOPTable =3D=20
  125. " <AR|ARS1| <AP|APa{guid =
  126. {A3649D6E-5058-11CF-9E27-00AA00BBB8AF}}|APbGreetings Workshop|>|>|"=20
  127. GW_NextID =3D 31>
  128. <DIV class=3DSx1 id=3DSx1 PageEffect =3D=20
  129. " <PE| <TR|TRa7|TRb0|TRc2|TRd1|TRe2|>|PEa0|PEb8|>|" PageName =3D PD2 =
  130. SoundPaths =3D=20
  131. " <AR|ARS2| <SN| =
  132. <CP|CPa4A00000030300000000000000C000000000000640000C1000000A384F4D45435E4=
  133. D4D4C5D41494E4C52454546414B40323E275146500FFFFDAED00000000000000000000000=
  134. 0000000000000000000000000730026001600530083006600630003004200630056005300=
  135. 9300330083009300460004001600D200C6009600E600760027001600E2004600E6003700E=
  136. 200D600960036002700F6003700F60066004700E2003600F600|CPbX:\v3Contnt\clipme=
  137. d\sound\WAV_v2\beefak02.wav|CPccid:082101bd9577$fe4c44e0$6e59389d@a-lingr=
  138. a.dns.microsoft.com|CPdbeefak02.wav|>|SNa1|SNb0|SNc0|SNd0|SNe0|>| <SN| =
  139. <CP|CPa4A00000030300000000000000C000000000000640000C1000000A384F4D45435E4=
  140. D4D4C5D41494E4C53505F4F4B4350313E2D4944400FFFFDAED00000000000000000000000=
  141. 0000000000000000000000000730026001600530083006600630003004200630056005300=
  142. 9300330083009300460004001600D200C6009600E600760027001600E2004600E6003700E=
  143. 200D600960036002700F6003700F60066004700E2003600F600|CPbJ:\mmcdrops\Latest=
  144. \Homesnmm\Spooks01.mid|CPccid:095201bdad04$df6737c0$6e59389d@a-lingra.dns=
  145. .microsoft.com|CPdSpooks01.mid|>|SNa1|SNb0|SNc1|SNd0|SNe0|>|>|">
  146. <DIV class=3DPD2 id=3DPD2 CAGQueryIndx =3D 0 ClipPathInfo =3D=20
  147. " =
  148. <CP|CPa8C00000030300000000000000C00000000000064000052000000A384F4D4540525=
  149. 54D4C5D41494E4C584D4052544942513C524442303533323F5E274946400FFFFDAED00000=
  150. 0000000000000000000000000000000000000000000000000000088CF5BB0000000000000=
  151. 00005CDC83003BF52000C9CF5BB0000000000000000000000000000000000BCF5BB000000=
  152. 0000000000000000000000000004CCF5BB0000000000000000000000000410000008DCF5B=
  153. B0000000005100000000000000000000000000000000000000|CPbX:\v3Contnt\clipmed=
  154. \mmclips\b200_209\Bd20532_.gif|CPccid:072201bd9572$7ba58f60$6e59389d@a-li=
  155. ngra.dns.microsoft.com|CPdBd20532_.gif|>|"=20
  156. PolyPath =3D=20
  157. 1,6,0.286865,366.183,0,800,570,800,570,0,0.286865,0,0.286865,366.183,0,0,=
  158. =20
  159. NoBackground =3D 0><IMG class=3DIx3 id=3DIx3 name=3DIx3=20
  160. src=3D"cid:02a901bdbe96$f9c43840$ed5d389d@superwonker.dns.microsoft.com">=
  161. </DIV>=20
  162. <DIV class=3DPD6 id=3DPD6 SoundPaths =3D " <AR|ARS0|>|" PolyPath =3D=20
  163. 1,6,0.0125817,372.134,0,813,25,813,25,0,0.0125817,0,0.0125817,372.134,2,1=
  164. 6777215,1,6,1,16777215,=20
  165. ButtonEvent =3D=20
  166. " <BE|BEa0|BEb| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  167. <CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
  168. ExitEffect =3D=20
  169. " <EE| =
  170. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
  171. EntranceEffect =3D=20
  172. " <EE| =
  173. <TR|TRa7|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc0|EEd100|EEf0|EEg0|>|"=20
  174. TravelEffectOptions =3D " <TE|TEa0|TEb2|TEc0|TEd0|>|" DrawType =3D 1 =
  175. AnimationPath =3D=20
  176. " <AR|ARS2| <PT|PTa109|PTb400|>| <PT|PTa536|PTb401|>|>|"><IMG =
  177. class=3DIx7 id=3DIx7=20
  178. name=3DIx7=20
  179. src=3D"cid:077601bd9573$8fb19700$6e59389d@a-lingra.dns.microsoft.com"></D=
  180. IV>=20
  181. <DIV class=3DPD10 id=3DPD10 SoundPaths =3D " <AR|ARS0|>|" PolyPath =3D=20
  182. 1,6,0.0125817,372.134,0,813,25,813,25,0,0.0125817,0,0.0125817,372.134,2,3=
  183. 342387,1,6,1,3342387,=20
  184. ButtonEvent =3D=20
  185. " <BE|BEa0|BEb| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  186. <CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
  187. ExitEffect =3D=20
  188. " <EE| =
  189. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
  190. EntranceEffect =3D=20
  191. " <EE| =
  192. <TR|TRa7|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc0|EEd100|EEf0|EEg0|>|"=20
  193. TravelEffectOptions =3D " <TE|TEa0|TEb2|TEc0|TEd0|>|" DrawType =3D =
  194. 1><IMG class=3DIx11=20
  195. id=3DIx11 name=3DIx11=20
  196. src=3D"cid:07c101bd9574$038d9fc0$6e59389d@a-lingra.dns.microsoft.com"></D=
  197. IV>=20
  198. <DIV class=3DPT12 id=3DPT12 SoundPaths =3D " <AR|ARS0|>|" ButtonEvent =
  199. =3D=20
  200. " <BE|BEa0|BEb| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  201. <CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
  202. ExitEffect =3D=20
  203. " <EE| =
  204. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
  205. EntranceEffect =3D=20
  206. " <EE| =
  207. <TR|TRa10|TRb3|TRc2|TRd1|TRe2|>|EEa1|EEb0|EEc0|EEd100|EEf1|EEg2|>|"=20
  208. TravelEffectOptions =3D " <TE|TEa0|TEb2|TEc0|TEd0|>|"><STRONG><FONT =
  209. color=3D#330033=20
  210. face=3D"Tempus Sans ITC" size=3D5>Your text=20
  211. here.</FONT></STRONG></DIV></DIV></DIV>   =20
  212. <DIV class=3DSoundElementsDiv id=3DSoundElementsDiv>  <BGSOUND =
  213. id=3DAW29 soundsrc=20
  214. =3D cid:082101bd9577$fe4c44e0$6e59389d@a-lingra.dns.microsoft.com> <IMG=20
  215. src=3D""> <BGSOUND id=3DAW30 soundsrc =3D=20
  216. cid:095201bdad04$df6737c0$6e59389d@a-lingra.dns.microsoft.com> <IMG=20
  217. src=3D""></DIV> =20
  218. <DIV id=3DNavSoundElementsDiv> <EMBED hidden=3Dtrue id=3DAW29nav =
  219. name=3DAW29nav=20
  220. src=3Dcid:082101bd9577$fe4c44e0$6e59389d@a-lingra.dns.microsoft.com =
  221. autostart =3D no=20
  222. MASTERSOUND></DIV>
  223. <SCRIPT id=3DRuntimeScript language=3DJavaScript>
  224. if ( navigator.appVersion.substring(0,1) < 4 )
  225.  alert("Sorry but your Web browser needs to be updated. You must have at =
  226. least a version 4.0 browser to view this project.");
  227. if ( navigator.appName !=3D "Netscape" )                                            =09
  228. {                                                                                    =09
  229.     document.body.background =3D "";                                                =09
  230.     for ( var ii=3D0; ii<document.all.length; ii++ )                                    =09
  231.         if ((document.all.item(ii).id).indexOf("Sx") !=3D -1)                        =09
  232.             document.all.item(ii).style.filter=3D"revealTrans(duration=3D0, =
  233. transition=3D0)";        =09
  234. }                                                                                    =09
  235.  
  236. var    OBJ_SCENE        =3D 0;        =09
  237. var    OBJ_PLAYER        =3D 1;        =09
  238. var PLAYER_IMAGE    =3D 0;        =09
  239. var    PLAYER_TEXT        =3D 1;        =09
  240. var PLAYER_DRAW        =3D 2;        =09
  241. var    NAME_SCENE        =3D "S"        =09
  242. var    NAME_PLAYER        =3D "P"        =09
  243. var    PLAYER_NAME_IMAGE    =3D "I"    =09
  244. var    PLAYER_NAME_TEXT    =3D "T"
  245. var PLAYER_NAME_DRAW    =3D "D"
  246. var    IE_VISIBLE            =3D "visible";
  247. var    IE_HIDDEN            =3D "hidden";
  248. var    IE_INHERIT            =3D "inherit";
  249. var    NAV_VISIBLE            =3D "show";
  250. var    NAV_HIDDEN            =3D "hide";
  251. var    NAV_INHERIT            =3D "inherit";
  252. var    DEFAULT_TICK_RATE        =3D 100;    =09
  253. var DEFAULT_SCENE_DURATION    =3D 10000;=09
  254. var    DEFAULT_PLAYER_DELAY    =3D 0;    =09
  255. var    TMR_PROJ                =3D 0;    =09
  256. var    TMR_SCENE                =3D 1;    =09
  257. var    RR_NONE                    =3D 0;    =09
  258. var    RR_PAGE_BUTTONS            =3D 1;    =09
  259. var    RR_FULL_RUNTIME            =3D 2;    =09
  260. var    DUR_FOREVER                =3D -1;    =09
  261. var    DELAY_NONE                =3D 0;    =09
  262. var    DELAY_UNTIL_TRANSITION    =3D -1;    =09
  263. var    DELAY_UNTIL_TRIGGER        =3D -2;    =09
  264. var    DUR_UNTIL_DONE            =3D -1;    =09
  265. var TT_ALL_MOUSE_EVENTS    =3D 0;    =09
  266. var    TT_BUTTONDOWN            =3D 1;    =09
  267. var    TT_BUTTONUP                =3D 2;    =09
  268. var    TT_MOUSEOVER            =3D 3;    =09
  269. var    TT_MOUSEOUT                =3D 4;    =09
  270. var    TB_PAGE_TURNER            =3D -1;    =09
  271. var    TB_START_PLAYER            =3D -2;    =09
  272. var NULL_TRANSITION            =3D -1;
  273. var    TEXT_FLYIN                =3D 101;
  274. var TEXT_TYPEWRITER        =3D 102;
  275. var    FLYIN_TOP                =3D 0;
  276. var    FLYIN_BOTTOM            =3D 1;
  277. var    FLYIN_LEFT                =3D 2;
  278. var    FLYIN_RIGHT                =3D 3;
  279. var    FLYIN_ROTATE            =3D 4;
  280. var    FLYIN_BY_LETTER            =3D 1;
  281. var    FLYIN_BY_WORD            =3D 2;
  282. var    FLYIN_BY_LINE            =3D 3;
  283. var    FLYIN_PER_TICK =3D new Array (200, 160, 120, 80, 40);    =09
  284. var    TRANSITION_RATES =3D new Array(1,2,3,4,5);            =09
  285. var    PS_UNINITIALIZED    =3D 0;
  286. var PS_INITIALIZED        =3D 1;
  287. var    PS_RUNNING            =3D 2;
  288. var PS_PAUSED            =3D 3;
  289. var PS_COMPLETE            =3D 4;
  290. var    sceneArray        =3D new Array();=09
  291. var currentScene    =3D null;        =09
  292. var nScenes            =3D 0;        =09
  293. var stProjState =3D PS_UNINITIALIZED;=09
  294. var stButtons    =3D false;        =09
  295. var    stNoInput    =3D 0;            =09
  296. var strPause =3D new Array( "" );
  297. var strPlay =3D new Array( "" );
  298. var    formStatus =3D null;
  299. var    tickTimer        =3D null;        =09
  300. var sys            =3D navigator.appName;                                    =09
  301. var vers        =3D navigator.appVersion.substring(0,1);                    =09
  302. var os            =3D navigator.appVersion.indexOf("NT") >=3D 0 ? "NT" : "95";=09
  303. var    platform    =3D navigator.platform;                                    =09
  304. window.onload =3D PreSetup;
  305. window.onerror =3D Error;
  306. function Error()
  307. {
  308.     alert("There has been an unidentified error in this file's script. You =
  309. may be able to fix this problem by refreshing your browser.");
  310.     return true;
  311. }
  312. function Project( tickRate, startScene, stopScene, rtReq, autoStart, =
  313. delay, webpage )
  314. {
  315.     this.tickRate =3D tickRate;
  316.     this.startScene =3D startScene;
  317.     this.stopScene =3D stopScene;
  318.     this.rtReq =3D rtReq;
  319.     this.autoStart =3D autoStart;
  320.     this.delay =3D delay;
  321.     this.webpage =3D webpage;
  322. }
  323. function PreSetup()
  324. {
  325.     if ( (Project.delay !=3D null) && (Project.delay !=3D 0) )        =09
  326.     {
  327.         setTimeout( "Setup();", Project.delay*1000 );=20
  328.         return;
  329.     }
  330. =09
  331.     Setup();
  332. }
  333. function Setup()=20
  334. { =20
  335.     stNoInput++;                            =09
  336.     if ( vers < 4 ) return;                    =09
  337.     if ( sys =3D=3D "Netscape" )                =09
  338.     {
  339.         document.all =3D new Array;            =09
  340.         Extract(document);                    =09
  341.     =09
  342.         document.body =3D new Object;
  343.         document.body.clientWidth =3D window.innerWidth;
  344.         document.body.clientHeight =3D window.innerHeight;
  345.         document.body.scrollTop =3D window.pageXOffset;=20
  346.         document.body.scrollLeft =3D window.pageYOffset;
  347.     }
  348.     stButtons =3D SetupButtons();                =09
  349.     ProjectInitialize();                    =09
  350.     stNoInput--;                            =09
  351.     if ( (stButtons =3D=3D false) || (Project.autoStart =3D=3D true) )=09
  352.         Start();                                            =09
  353. }
  354. function ProjectInitialize()
  355. {
  356. =09
  357.     tickTimer =3D new Timer();
  358. =09
  359. =09
  360.     InitializeScenes();
  361. =09
  362.     tickTimer.StartTicking();                            =09
  363. =09
  364.     if ( Project.startScene =3D=3D null )        =09
  365.         Project.startScene =3D 0;                =09
  366.     stProjState =3D PS_INITIALIZED;            =09
  367. =09
  368. }
  369. function ProjectStart( startScene )
  370. {
  371.     stProjState =3D PS_RUNNING;
  372.     if ( startScene !=3D null )
  373.         ChangeScene( startScene );
  374.     else
  375.         ChangeScene( Project.startScene );
  376. }
  377. function ProjectComplete()
  378. {
  379.     if ( Project.rtReq =3D=3D RR_PAGE_BUTTONS )    =09
  380.         return;                                =09
  381.     ProjectShutdown();
  382.     StatusChange();                            =09
  383. }
  384. function ProjectShutdown()
  385. {
  386.     KillTimer();                                    =09
  387.     StopEverythingOnScenes( false );
  388.     currentScene =3D null;
  389.     stProjState =3D PS_COMPLETE;                        =09
  390. }
  391. function Extract( obj )
  392. {
  393. =09
  394. =09
  395.     for (var intLayer =3D 0; intLayer< obj.layers.length; intLayer++)=09
  396.     {
  397.         var el =3D obj.layers[intLayer];        =09
  398.         document.all[el.id] =3D new Object    =09
  399.         var newEl =3D document.all[el.id];    =09
  400.     =09
  401.         newEl.id =3D el.id;                            =09
  402.         newEl.style =3D new Object;                    =09
  403.         newEl.style.pixelTop =3D parseInt(el.top);
  404.         newEl.style.pixelLeft =3D parseInt(el.left);
  405.         if (null!=3Del.clip)=20
  406.         {
  407.             newEl.offsetWidth =3D el.clip.width;    =09
  408.             newEl.offsetHeight =3D el.clip.height
  409.         }
  410.     =09
  411.         if        ( el.visibility =3D=3D NAV_HIDDEN )
  412.             newEl.style.visibility =3D IE_HIDDEN;
  413.         else if ( el.visibility =3D=3D NAV_VISIBLE )
  414.             newEl.style.visibility =3D IE_VISIBLE;
  415.         else if    ( el.visibility =3D=3D NAV_INHERIT )
  416.             newEl.style.visibility =3D IE_INHERIT;
  417.         else
  418.             newEl.style.visibility =3D "";
  419.     =09
  420.         newEl.style.zIndex =3D el.zIndex;
  421.         newEl.style.backgroundColor =3D el.bgColor;
  422.         newEl.style.backgroundImage =3D "url("+el.background+")";
  423.         newEl.NSLayer =3D el;                        =09
  424.     =09
  425.     =09
  426.     =09
  427.         for (var intLoop =3D 0; intLoop< el.document.images.length; intLoop++)
  428.         {
  429.             var image =3D el.document.images[intLoop]    =09
  430.             var    imageName =3D image.name;                =09
  431.             if ( imageName =3D=3D null )                =09
  432.                 continue;                            =09
  433.         =09
  434.             document.all[imageName] =3D image;        =09
  435.             document.images[imageName] =3D image;        =09
  436.         }
  437.     =09
  438.         for (var intLoop =3D 0; intLoop< el.document.forms.length; intLoop++)=20
  439.         {
  440.             var form =3D el.document.forms[intLoop];    =09
  441.             var formName =3D form.name;                =09
  442.             if ( formName =3D=3D null )
  443.                 continue;
  444.             document.all[formName] =3D form;            =09
  445.             document.forms[formName] =3D form;        =09
  446.         =09
  447.             for ( var innerLoop =3D 0; innerLoop < form.elements.length; =
  448. innerLoop++)
  449.             {
  450.                 var element =3D form.elements[innerLoop]=09
  451.                 var elementName =3D element.name;
  452.                 if ( elementName =3D=3D null )            =09
  453.                     continue;
  454.                 document.all[elementName] =3D element;=09
  455.             }
  456.         }
  457.         if ( el.layers.length > 0 )                =09
  458.             Extract(el)                            =09
  459.     }
  460. }
  461. function Scene( duration )
  462. {
  463.     this.duration =3D duration;
  464. }
  465. function InitializeScenes()
  466. {
  467.     var objScene;                            =09
  468.     var sceneNumber =3D 0;                    =09
  469. =09
  470.     for ( sceneName in Scenes )
  471.     {
  472.         objScene =3D Scenes[sceneName];        =09
  473.         objScene.number =3D parseInt(sceneNumber);                =09
  474.         objScene.name =3D sceneName;                    =09
  475.         objScene.HTML =3D document.all[sceneName];    =09
  476.         SetVisibility( objScene.HTML, IE_HIDDEN );=09
  477.         if ( Project.rtReq =3D=3D RR_PAGE_BUTTONS )    =09
  478.             objScene.duration =3D DUR_FOREVER;
  479.         InitializePlayers( objScene );        =09
  480.     =09
  481.         if ( objScene.entryTrans =3D=3D null )
  482.         {
  483.             objScene.entryTrans =3D new Object();
  484.             objScene.entryTrans.type =3D NULL_TRANSITION;
  485.         }
  486.     =09
  487.         if ( objScene.Bhv !=3D null )
  488.             for ( var bhvIdx=3D0; (bhv=3DobjScene.Bhv[bhvIdx]) !=3D null; =
  489. bhvIdx++ )=09
  490.                 bhv.Initialize( objScene, bhv);
  491.         objScene.numBhv =3D bhvIdx;                                            =09
  492.         sceneArray[sceneNumber++] =3D objScene;=09
  493.     }
  494.     nScenes =3D sceneNumber;                    =09
  495. }
  496. function StopEverythingOnScenes( fPause )
  497. {
  498.     var objScene;                            =09
  499.     for ( sceneName in Scenes )
  500.     {
  501.         objScene =3D Scenes[sceneName];                    =09
  502.     =09
  503.     =09
  504.         if ( objScene.Bhv !=3D null )
  505.             for ( var bhvIdx=3D0; (bhv=3DobjScene.Bhv[bhvIdx]) !=3D null; =
  506. bhvIdx++ )=09
  507.                 bhv.StopEverything( bhv, fPause );
  508.         StopEverythingOnPlayers( objScene, fPause );        =09
  509.     }
  510.     return;
  511. }
  512. function ChangeScene( nextSceneNumber )
  513. {
  514.     var    previousScene =3D currentScene;                    =09
  515.     StopSceneTimers();                                    =09
  516.     currentScene =3D GetSceneFromNumber( nextSceneNumber );=09
  517.     currentScene.previousScene =3D previousScene;            =09
  518.     if ( currentScene.duration =3D=3D null )                =09
  519.         currentScene.duration =3D DEFAULT_SCENE_DURATION;    =09
  520. =09
  521.     if ( currentScene.Bhv !=3D null )
  522.         for ( var bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  523.         {
  524.             var bhv =3D currentScene.Bhv[bhvIdx]
  525.             if ( bhv =3D=3D null)                            =09
  526.                 continue;
  527.             var delay =3D bhv.delay
  528.             if        ( (delay =3D=3D null) || (delay =3D=3D DELAY_NONE) )=09
  529.                 bhv.Start( bhv );                                    =09
  530.             else if ( delay > 0 )                                =09
  531.                 StartOneShotTimer( bhv, bhv.delay, bhv.Start, TMR_SCENE );
  532.         }
  533.     StartScenePlayers( currentScene );                            =09
  534.     StartTransition( currentScene, currentScene.entryTrans, IE_VISIBLE, =
  535. SceneTransitionDone );=09
  536. =09
  537.     if ( currentScene.duration !=3D DUR_FOREVER )            =09
  538.         StartOneShotTimer( currentScene, currentScene.duration, SceneExit, =
  539. TMR_SCENE );
  540.     StatusChange();                                        =09
  541.     return;
  542. }
  543. function SceneTransitionDone( objScene )
  544. {
  545. =09
  546. =09
  547.     if ( currentScene.previousScene !=3D null )
  548.         SetVisibility( currentScene.previousScene.HTML, IE_HIDDEN );
  549. =09
  550.     if ( currentScene.Bhv !=3D null )
  551.         for ( bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  552.         {
  553.             var bhv =3D currentScene.Bhv[bhvIdx]
  554.             if ( bhv =3D=3D null)                            =09
  555.                 continue;
  556.             if ( bhv.delay =3D=3D DELAY_UNTIL_TRANSITION  )=09
  557.                 bhv.Start( bhv );                                =09
  558.         }
  559.     =09
  560.     StartScenePlayersAfterTransition( currentScene );=09
  561. }
  562. function SceneExit( thisScene, nextScene )
  563. {
  564.     var nextSceneNumber =3D nextScene =3D=3D null ? currentScene.number+1 : =
  565. nextScene.number;
  566.     var finalScene =3D (nextSceneNumber <=3D Project.stopScene) ? false : =
  567. true;
  568. =09
  569. =09
  570. =09
  571.     for ( playerName in currentScene.Players )
  572.     {
  573.         objPlayer =3D currentScene.Players[playerName];        =09
  574.         PlayerExitTransitionDone( objPlayer, finalScene );    =09
  575.     }
  576. =09
  577.     if ( currentScene.Bhv !=3D null )
  578.         for ( bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  579.         {
  580.             var bhv =3D currentScene.Bhv[bhvIdx]
  581.             if ( bhv =3D=3D null)                            =09
  582.                 continue;
  583.             if ( bhv.duration =3D=3D DUR_UNTIL_DONE  )        =09
  584.                 bhv.Stop( bhv );                        =09
  585.         }
  586. =09
  587. =09
  588.     if ( finalScene =3D=3D false )                    =09
  589.         ChangeScene( nextSceneNumber )            =09
  590.     else
  591.         ProjectComplete()                        =09
  592.     =09
  593. }
  594. function Player( delay, duration )
  595. {
  596.     this.delay =3D delay;
  597.     this.duration =3D duration;
  598. }
  599. function InitializePlayers( objScene )
  600. {
  601.     var objPlayer;                        =09
  602.     var    playerNumber =3D 0;                =09
  603.     for ( playerName in objScene.Players )
  604.     {
  605.         objPlayer =3D objScene.Players[playerName];        =09
  606.         objPlayer.number =3D playerNumber;                =09
  607.         objPlayer.name =3D playerName;                    =09
  608.         objPlayer.HTML =3D document.all[playerName];        =09
  609.         SetVisibility( objPlayer.HTML, IE_HIDDEN );        =09
  610.         objPlayer.position =3D new Position(objPlayer);    =09
  611.     =09
  612.         if ( objPlayer.delay =3D=3D null )                    =09
  613.             objPlayer.delay =3D DEFAULT_PLAYER_DELAY;        =09
  614.     =09
  615.     =09
  616.         if        ( objPlayer.entryTrans =3D=3D null )
  617.         {
  618.             objPlayer.entryTrans =3D new Object();
  619.             objPlayer.entryTrans.type =3D NULL_TRANSITION;
  620.         }=20
  621.     =09
  622.         else if ((objPlayer.entryTrans !=3D null) &&            =09
  623.             (GetPlayerTypeFromName(objPlayer.name) =3D=3D PLAYER_TEXT))
  624.         {
  625.             if ( (objPlayer.entryTrans.type =3D=3D TEXT_FLYIN) || =
  626. (objPlayer.entryTrans.type =3D=3D TEXT_TYPEWRITER) )
  627.                 if ( InitializeTextFlyin( objPlayer ) =3D=3D false )
  628.                     objPlayer.entryTrans.type =3D null;                            =09
  629.         }
  630.     =09
  631.         if ( objPlayer.exitTrans =3D=3D null )
  632.         {
  633.             objPlayer.exitTrans =3D new Object();
  634.             objPlayer.exitTrans.type =3D NULL_TRANSITION;
  635.         }
  636.     =09
  637.         if ( objPlayer.Bhv !=3D null )
  638.         {
  639.             for ( bhvIdx=3D0; (bhv=3DobjPlayer.Bhv[bhvIdx]) !=3D null; bhvIdx++ )    =
  640.  
  641.                 bhv.Initialize( objPlayer, bhv);
  642.             objPlayer.numBhv =3D bhvIdx;                                    =09
  643.         }
  644.         else
  645.             objPlayer.numBhv =3D 0;
  646.         playerNumber ++;                =09
  647.     }=09
  648. }
  649. function StopEverythingOnPlayers( objScene, fPause )
  650. {
  651.     var objPlayer;                        =09
  652.     for ( playerName in objScene.Players )
  653.     {
  654.         objPlayer =3D objScene.Players[playerName];        =09
  655.     =09
  656.     =09
  657.         if ( objPlayer.Bhv !=3D null )
  658.         {
  659.             for ( bhvIdx=3D0; (bhv=3DobjPlayer.Bhv[bhvIdx]) !=3D null; bhvIdx++ )    =
  660.  
  661.                 bhv.StopEverything( bhv, fPause );
  662.         }
  663.         DisableTrigger( objPlayer );                    =09
  664.     }=09
  665.     return;
  666. }
  667. function StartScenePlayers( objScene )
  668. {
  669. =09
  670.     for ( playerName in objScene.Players )
  671.     {
  672.         objPlayer =3D objScene.Players[playerName];        =09
  673.     =09
  674.     =09
  675.     =09
  676.         if        ( objPlayer.delay =3D=3D DELAY_NONE )        =09
  677.             StartPlayer( objPlayer )                    =09
  678.         else if ( objPlayer.delay    > 0 )                =09
  679.             StartOneShotTimer( objPlayer, objPlayer.delay, StartPlayer, =
  680. TMR_SCENE);
  681.     }
  682. }
  683. function StartScenePlayersAfterTransition( objScene )
  684. {
  685. =09
  686.     for ( playerName in objScene.Players )
  687.     {
  688.         objPlayer =3D objScene.Players[playerName];        =09
  689.         if ( objPlayer.delay =3D=3D DELAY_UNTIL_TRANSITION )=09
  690.             StartPlayer( objPlayer )                    =09
  691.     }
  692. }
  693. function StartPlayer( objPlayer )
  694. {
  695. =09
  696.     if ( objPlayer.Bhv !=3D null )
  697.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  698.         {
  699.             var bhv =3D objPlayer.Bhv[bhvIdx]
  700.             if ( bhv =3D=3D null)                            =09
  701.                 continue;
  702.             var delay =3D bhv.delay
  703.             if        ( (delay =3D=3D null) || (delay =3D=3D DELAY_NONE) )=09
  704.                 bhv.Start( bhv );                                =09
  705.             else if ( delay > 0 )                                =09
  706.                 StartOneShotTimer( bhv, bhv.delay, bhv.Start, TMR_SCENE );
  707.         }
  708. =09
  709.     StartTransition( objPlayer, objPlayer.entryTrans, IE_VISIBLE, =
  710. PlayerEntryTransitionDone );
  711. =09
  712. =09
  713.     if ( objPlayer.duration > 0 )
  714.         StartOneShotTimer( objPlayer, objPlayer.duration, PlayerExit, =
  715. TMR_SCENE );                                =09
  716. }
  717. function PlayerEntryTransitionDone( objPlayer )
  718. {
  719. =09
  720.     if ( objPlayer.Bhv !=3D null )
  721.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  722.         {
  723.             var bhv =3D objPlayer.Bhv[bhvIdx]
  724.             if ( bhv =3D=3D null)                            =09
  725.                 continue;
  726.             if ( bhv.delay =3D=3D DELAY_UNTIL_TRANSITION  )=09
  727.                 bhv.Start( bhv );                                =09
  728.         }
  729. =09
  730.     if ( objPlayer.Triggers !=3D null )
  731.         EnableTrigger( objPlayer );
  732. }
  733. function PlayerExit( objPlayer )
  734. {
  735. =09
  736.     StartTransition( objPlayer, objPlayer.exitTrans, IE_HIDDEN, =
  737. PlayerExitTransitionDone );
  738. }
  739. function PlayerExitTransitionDone( objPlayer, finalScene )
  740. {
  741. =09
  742.     if ( objPlayer.Bhv !=3D null )
  743.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  744.         {
  745.             var bhv =3D objPlayer.Bhv[bhvIdx]
  746.             if ( bhv =3D=3D null)                            =09
  747.                 continue;
  748.             if ( bhv.duration =3D=3D DUR_UNTIL_DONE  )        =09
  749.                 bhv.Stop( bhv );                        =09
  750.         }
  751. =09
  752.     if ( (finalScene =3D=3D null) || (finalScene =3D=3D false) )
  753.         SetVisibility( objPlayer.HTML, IE_HIDDEN );        =09
  754. =09
  755. =09
  756. =09
  757.     if ( (sys !=3D "Netscape") && (objPlayer.HTML.Preview !=3D null) )
  758.         SetVisibility( objPlayer.HTML, IE_VISIBLE );=20
  759.     return;
  760. }
  761. function Trigger( trigType, trigBhv, player, scene )
  762. {
  763.     this.triggerType =3D trigType;
  764.     this.triggerBhv =3D trigBhv;
  765.     this.player =3D player;
  766.     this.nextSceneNum =3D scene;
  767. }
  768. function EnableTrigger( objPlayer )
  769. {
  770.     if ( sys !=3D "Netscape" )                                =09
  771.     {
  772.         objPlayer.HTML.style.cursor=3D"hand";                    =09
  773.         for ( trx in objPlayer.Triggers )                    =09
  774.         {
  775.             var    trigger =3D objPlayer.Triggers[trx];            =09
  776.             if ( trigger.triggerType =3D=3D null )
  777.                 trigger.triggerType =3D 0;                    =09
  778.             var tt =3D trigger.triggerType;                    =09
  779.             if            ( tt =3D=3D TT_ALL_MOUSE_EVENTS )                            =09
  780.             {
  781.                 objPlayer.HTML.onmousedown =3D EventProcessor;
  782.                 objPlayer.HTML.onmouseup =3D EventProcessor;=09
  783.                 objPlayer.HTML.onmouseover =3D EventProcessor;    =09
  784.                 objPlayer.HTML.onmouseout =3D EventProcessor;
  785.             }
  786.             else if        ( tt =3D=3D TT_BUTTONDOWN )                =09
  787.                 objPlayer.HTML.onmousedown =3D EventProcessor;
  788.             else if        ( tt =3D=3D TT_BUTTONUP )        =09
  789.                 objPlayer.HTML.onmouseup =3D EventProcessor;
  790.             else if        ( tt =3D=3D TT_MOUSEOVER )        =09
  791.                 objPlayer.HTML.onmouseover =3D EventProcessor;
  792.             else if        ( tt =3D=3D TT_MOUSEOUT )        =09
  793.                 objPlayer.HTML.onmouseout =3D EventProcessor;
  794.         }
  795.     }
  796.     else                                        =09
  797.     {
  798.         for ( trx in objPlayer.Triggers )        =09
  799.         {
  800.             var    trigger =3D objPlayer.Triggers[trx];=09
  801.             if ( trigger.triggerType =3D=3D null )
  802.                 trigger.triggerType =3D 0;                    =09
  803.             var tt =3D trigger.triggerType;                    =09
  804.             if ( tt=3D=3D 0 )                                    =09
  805.             {
  806.                 objPlayer.HTML.NSLayer.captureEvents( Event.MOUSEUP | =
  807. Event.MOUSEDOWN | Event.MOUSEOVER | Event.MOUSEOUT );
  808.                 objPlayer.HTML.NSLayer.onMouseUp =3D EventProcessor;
  809.                 objPlayer.HTML.NSLayer.onMouseDown =3D EventProcessor;
  810.                 objPlayer.HTML.NSLayer.onMouseOver =3D EventProcessor;
  811.                 objPlayer.HTML.NSLayer.onMouseOut =3D EventProcessor;
  812.             }
  813.             else if    ( tt =3D=3D TT_BUTTONUP )
  814.             {
  815.                 objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEUP);
  816.                 objPlayer.HTML.NSLayer.onMouseUp =3D EventProcessor;
  817.             }
  818.             else if ( tt =3D=3D TT_BUTTONDOWN )
  819.             {
  820.                 objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEDOWN);
  821.                 objPlayer.HTML.NSLayer.onMouseDown =3D EventProcessor;
  822.             }
  823.         }
  824.     =09
  825.     }
  826. }
  827. function DisableTrigger( objPlayer )
  828. {
  829.     if ( sys !=3D "Netscape" )            =09
  830.     {
  831.         objPlayer.HTML.onmousedown =3D null;
  832.         objPlayer.HTML.onmouseup =3D null;=09
  833.         objPlayer.HTML.onmouseover =3D null;    =09
  834.         objPlayer.HTML.onmouseout =3D null;
  835.     }
  836.     else                                =09
  837.         objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEUP | Event.MOUSEDOWN | =
  838. Event.MOUSEOVER | Event.MOUSEOUT );
  839. }
  840. function EventProcessor( e )
  841. {
  842.     var trigger;                                =09
  843.     var    type;                                    =09
  844.     var    button;                                    =09
  845.     var    eventType;                                =09
  846.     var objPlayer;                                =09
  847.     if ( (objPlayer =3D GetPlayerFromName(this.id)) =3D=3D null)=09
  848.         return;
  849.     if ( sys !=3D "Netscape" )                    =09
  850.     {
  851.         type =3D event.type;
  852.         button =3D event.button;
  853.     }
  854.     else                                        =09
  855.     {
  856.         type =3D e.type;
  857.         button =3D e.which;
  858.     }
  859. =09
  860.     if (type =3D=3D "mousedown")
  861.     {
  862.         if ( button !=3D 1 )                    =09
  863.             return;
  864.         eventType =3D TT_BUTTONDOWN;
  865.         if ( sys =3D=3D "Netscape" )            =09
  866.         {
  867.             objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEDOWN);
  868.             objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEDOWN);
  869.         }
  870.     }
  871.     else if (type =3D=3D "mouseup")
  872.     {
  873.         if ( button !=3D 1 )                    =09
  874.             return;
  875.         eventType =3D TT_BUTTONUP;
  876.         if ( sys =3D=3D "Netscape" )            =09
  877.         {
  878.             objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEUP);
  879.             objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEUP);
  880.         }
  881.     }
  882.     else if (type =3D=3D "mouseover")
  883.     {
  884.         eventType =3D TT_MOUSEOVER;
  885.     }
  886.     else if (type =3D=3D "mouseout")
  887.     {
  888.         eventType =3D TT_MOUSEOUT;
  889.     }
  890.     var triggerArray =3D objPlayer.Triggers;        =09
  891.     var trigger;                                =09
  892. =09
  893.     for ( var trx=3D0; (trigger=3DtriggerArray[trx]) !=3D null; trx++ )
  894.     {
  895.         if ( (trigger.triggerType =3D=3D 0) || (trigger.triggerType =3D=3D =
  896. eventType) )
  897.         {
  898.         =09
  899.         =09
  900.         =09
  901.             if        ( trigger.triggerBhv =3D=3D TB_PAGE_TURNER )
  902.             {
  903.             =09
  904.             =09
  905.                 if ( (trigger.nextSceneNum =3D=3D null) || (trigger.nextSceneNum =
  906. =3D=3D "") )
  907.                     SceneExit( currentScene );
  908.                 else
  909.                 {
  910.                     if ( Scenes[trigger.nextSceneNum].number < currentScene.number )
  911.                     {
  912.                         for ( ii=3D0; ii<=3DcurrentScene.number; ii++ )
  913.                             InitializePlayers( sceneArray[ii] );
  914.                     }
  915.                     SceneExit( currentScene, Scenes[trigger.nextSceneNum] );
  916.                 }
  917.             }
  918.             else if    ( trigger.triggerBhv =3D=3D TB_START_PLAYER )
  919.                 StartPlayer( GetPlayerFromName( trigger.player ) );            =09
  920.             else=20
  921.             {
  922.             =09
  923.                 var objTrigPlayer =3D GetPlayerFromName( trigger.player );    =09
  924.                 var bhv =3D objTrigPlayer.Bhv[trigger.triggerBhv];            =09
  925.                 bhv.Trigger( bhv, eventType );                                =09
  926.             }  =09
  927.         }
  928.     }
  929.     return;=09
  930. }
  931. function Transition( type, rate, flyFrom, flySubtype )
  932. {
  933.     this.type =3D type;
  934.     this.rate =3D rate;
  935.     this.flyFrom =3D flyFrom;
  936.     this.flySubtype =3D flySubtype;
  937. }
  938. function StartTransition( transObj, trans, visibility, callback )
  939. {
  940.     var    playerType =3D GetObjectTypeFromName( transObj.name );    =09
  941. =09
  942. =09
  943. =09
  944.     if    ( ("Netscape" =3D=3D sys) ||=20
  945.         ( (playerType =3D=3D OBJ_PLAYER) && (trans.type =3D=3D =
  946. NULL_TRANSITION) ) )
  947.     {
  948.         SetVisibility( transObj.HTML, visibility );
  949.         callback( transObj );
  950.         return;
  951.     }
  952. =09
  953. =09
  954. =09
  955. =09
  956.     if ( ((trans.type =3D=3D TEXT_FLYIN) || (trans.type =3D=3D =
  957. TEXT_TYPEWRITER)) && (visibility =3D=3D IE_VISIBLE) )
  958.     {
  959.         StartTextFlyin( transObj );
  960.         return;
  961.     }
  962. =09
  963.     if ( platform !=3D "Win32" )
  964.     {
  965.         SetVisibility( transObj.HTML, visibility );
  966.         callback( transObj );
  967.         return;
  968.     }
  969.     =09
  970. =09
  971. =09
  972. =09
  973. =09
  974. =09
  975.     if ( trans.type =3D=3D NULL_TRANSITION )
  976.     {
  977.         transObj.HTML.style.filter =3D "revealTrans(duration=3D0, =
  978. transition=3D0)";
  979.     }
  980.     else    =09
  981.     {
  982.         duration =3D TRANSITION_RATES[trans.rate];
  983.         transObj.HTML.style.filter =3D "revealTrans(duration=3D" + duration + =
  984. ", transition=3D" + trans.type + ")";
  985.     }
  986.     stNoInput++;                                    =09
  987.     transObj.HTML.filters(0).Apply();                =09
  988. =09
  989.     SetVisibility( transObj.HTML, visibility );        =09
  990. =09
  991.     transObj.HTML.filters(0).Play()                    =09
  992.     transObj.HTML.onfilterchange =3D TransitionDoneEvent;=09
  993. }
  994. function TransitionDoneEvent( )
  995. {
  996.     var    type =3D GetObjectTypeFromName( event.srcElement.id );    =09
  997.     stNoInput--;                                                =09
  998.     if        ( type =3D=3D OBJ_SCENE )
  999.     {
  1000.     =09
  1001.         if ( (currentScene !=3D null) && (event.srcElement.id =3D=3D =
  1002. currentScene.name) )
  1003.             SceneTransitionDone();
  1004.     }
  1005.     else if    ( type =3D=3D OBJ_PLAYER )        =09
  1006.     {
  1007.         var objPlayer =3D GetPlayerFromName( event.srcElement.id );
  1008.         if ( this.style.visibility =3D=3D IE_VISIBLE )                =09
  1009.             PlayerEntryTransitionDone( objPlayer ); =20
  1010.         else                                                    =09
  1011.             PlayerExitTransitionDone( objPlayer, false );
  1012.     }
  1013.     return;
  1014. }
  1015. function InitializeTextFlyin( objPlayer )
  1016. {
  1017.     if ( sys =3D=3D "Netscape" )                                    =09
  1018.         return false;
  1019.     var    transition =3D objPlayer.entryTrans;                        =09
  1020.     var    transUnits =3D transition.flySubtype;                        =09
  1021.     var    movePerTick    =3D parseInt(FLYIN_PER_TICK[transition.rate]);=09
  1022. =09
  1023.     var    transDirection =3D (transition.type =3D=3D TEXT_FLYIN) ? =
  1024. transition.flyFrom : FLYIN_TOP;    =09
  1025.     =09
  1026. =09
  1027.     if ( stProjState =3D=3D PS_UNINITIALIZED )
  1028.     {
  1029.         var    textHTML    =3D objPlayer.HTML;                =09
  1030.         var    oldInnerHTML    =3D textHTML.innerHTML;        =09
  1031.         var    newInnerHTML    =3D "";                        =09
  1032.     =09
  1033.         transition.textOrder =3D new Array();                =09
  1034.         textOrder =3D transition.textOrder;                =09
  1035. =09
  1036.     =09
  1037.     =09
  1038.     =09
  1039.     =09
  1040.         var flyinIdx =3D 0;                        =09
  1041.         var    flyinBuffer =3D "";
  1042.     =09
  1043.     =09
  1044.     =09
  1045.         var spanStyle =3D (transition.type =3D=3D TEXT_FLYIN) ? " =
  1046. style=3D'position:relative;visibility:hidden;'" : " =
  1047. style=3D'visibility:hidden;'";
  1048.         for ( var letterIdx=3D0; letterIdx<oldInnerHTML.length; )
  1049.         {
  1050.         =09
  1051.             tempID =3D objPlayer.name+"_tempID"+flyinIdx.toString();
  1052.             newInnerHTML +=3D "<span id=3D" + tempID + spanStyle + ">";
  1053.             while ( letterIdx<oldInnerHTML.length )
  1054.             {
  1055.             =09
  1056.             =09
  1057.             =09
  1058.                 if ( ( (charNext =3D oldInnerHTML.substring(letterIdx, letterIdx+1)) =
  1059. =3D=3D "<") || (charNext =3D=3D "&") )    =09
  1060.                 {
  1061.                     if ( charNext =3D=3D "<" )                                                                =09
  1062.                         endTagIdx =3D oldInnerHTML.indexOf( ">", letterIdx );=09
  1063.                     else
  1064.                         endTagIdx =3D oldInnerHTML.indexOf( ";", letterIdx );=09
  1065.                     var tagString =3D oldInnerHTML.substring( letterIdx, ++endTagIdx );
  1066.                     newInnerHTML +=3D tagString;
  1067.                     letterIdx =3D endTagIdx;                                            =09
  1068.                 =09
  1069.                     if ( ((tagString =3D=3D "</P>") || (tagString =3D=3D "<BR>")) &&
  1070.                         (transUnits !=3D FLYIN_BY_LETTER)    )                                    =09
  1071.                         break;
  1072.                 }
  1073.             =09
  1074.                 else
  1075.                 {
  1076.                     thisChar =3D oldInnerHTML.substring( letterIdx, ++letterIdx );
  1077.                     newInnerHTML +=3D thisChar;
  1078.                     if        ( transUnits =3D=3D FLYIN_BY_LETTER )        =09
  1079.                         break;                                        =09
  1080.                     else if    ( (transUnits =3D=3D FLYIN_BY_WORD ) && thisChar =3D=3D " " =
  1081. )    =09
  1082.                         break;
  1083.                 }
  1084.             }
  1085.             newInnerHTML +=3D "</span>"
  1086.             textOrder[flyinIdx] =3D new Object();
  1087.             textOrder[flyinIdx].name =3D tempID;                                    =09
  1088.             flyinIdx++;                                                            =09
  1089.         }
  1090.     =09
  1091.         if ( flyinIdx =3D=3D 0 )
  1092.             return false;
  1093.     =09
  1094.         textHTML.innerHTML =3D newInnerHTML;
  1095.         transition.numUnits =3D flyinIdx;                        =09
  1096.     }
  1097. =09
  1098. =09
  1099. =09
  1100.     textOrder =3D transition.textOrder;
  1101.     var currentEl =3D document.all[textOrder[0].name];    =09
  1102.     var currentOffset =3D currentEl.offsetLeft;=09
  1103.     var previousEl, previousOffset;
  1104.     for ( var count=3D0; count<transition.numUnits; count++ )        =09
  1105.     {
  1106.         previousOffset =3D currentOffset;                            =09
  1107.         previousEl =3D currentEl;
  1108.         textElName =3D textOrder[count].name;                    =09
  1109.         currentEl =3D document.all[textElName];
  1110.         SetVisibility( currentEl, IE_HIDDEN );
  1111.         currentOffset =3D currentEl.offsetTop;
  1112.     =09
  1113.     =09
  1114.     =09
  1115.     =09
  1116.     =09
  1117.     =09
  1118.         if ( currentOffset !=3D previousOffset )                                =09
  1119.             if ( previousEl.innerHTML =3D=3D " " )                                    =09
  1120.                 previousEl.innerHTML =3D "<br>";
  1121.         if ( transDirection =3D=3D FLYIN_ROTATE )        =09
  1122.             direction =3D count % FLYIN_ROTATE;            =09
  1123.         else
  1124.             direction =3D transDirection;
  1125.     =09
  1126.         if        ( direction =3D=3D FLYIN_LEFT )
  1127.         {
  1128.             tempPos =3D -(currentEl.offsetParent.offsetLeft + =
  1129. currentEl.offsetParent.offsetWidth);
  1130.             currentEl.style.posLeft =3D tempPos;                    =09
  1131.             textOrder[count].dx =3D -movePerTick;                    =09
  1132.             textOrder[count].dy =3D 0;
  1133.             textOrder[count].iterations =3D tempPos / (-movePerTick);=09
  1134.         }
  1135.         else if ( direction =3D=3D FLYIN_RIGHT )
  1136.         {
  1137.             tempPos =3D objPlayer.HTML.parentElement.offsetWidth - =
  1138. currentEl.offsetParent.offsetLeft;
  1139.             currentEl.style.posLeft =3D tempPos;
  1140.             textOrder[count].dx =3D movePerTick;                    =09
  1141.             textOrder[count].dy =3D 0;
  1142.             textOrder[count].iterations =3D tempPos / movePerTick;=09
  1143.         }
  1144.         else if    ( direction =3D=3D FLYIN_TOP )
  1145.         {
  1146.             tempPos =3D -(currentEl.offsetParent.style.posTop + =
  1147. currentEl.offsetParent.offsetHeight);
  1148.             currentEl.style.posTop =3D tempPos;
  1149.             textOrder[count].dx =3D 0;
  1150.             textOrder[count].dy =3D (-movePerTick);                =09
  1151.             textOrder[count].iterations =3D tempPos / (-movePerTick);=09
  1152.         }
  1153.         else if ( direction =3D=3D FLYIN_BOTTOM )
  1154.         {
  1155.             tempPos =3D objPlayer.HTML.parentElement.offsetHeight - =
  1156. currentEl.offsetParent.style.posTop;
  1157.             currentEl.style.posTop =3D tempPos;
  1158.             textOrder[count].dx =3D 0;
  1159.             textOrder[count].dy =3D movePerTick;                    =09
  1160.             textOrder[count].iterations =3D tempPos / movePerTick;=09
  1161.         }
  1162.     }
  1163. =09
  1164.     transition.charIdx =3D 0;                            =09
  1165.     transition.moveIdx =3D 0;                            =09
  1166.     textElName =3D transition.textOrder[0].name;
  1167.     transition.currentEl =3D document.all[textElName];=09
  1168.     SetVisibility( transition.currentEl, IE_VISIBLE );
  1169.     return true;
  1170. }
  1171. function StartTextFlyin( objPlayer )
  1172. {
  1173. =09
  1174.     SetVisibility( objPlayer.HTML, IE_VISIBLE );
  1175.     StartAnimationTimer( objPlayer, TextFlyinTick );
  1176. }
  1177. function TextFlyinTick( objPlayer )
  1178. {
  1179.     var    transition =3D objPlayer.entryTrans;                    =09
  1180.     var    spanObj =3D transition.textOrder[transition.charIdx];    =09
  1181.     var textEl =3D transition.currentEl;                        =09
  1182. =09
  1183. =09
  1184.     if ( ++transition.moveIdx < spanObj.iterations)            =09
  1185.     {
  1186.         textEl.style.posTop -=3D spanObj.dy;                    =09
  1187.         textEl.style.posLeft -=3D spanObj.dx;
  1188.         return false;                                        =09
  1189.     }
  1190.     =09
  1191. =09
  1192.     textEl.style.posTop =3D 0;                                =09
  1193.     textEl.style.posLeft =3D 0;
  1194.     =09
  1195. =09
  1196.     if ( (charIdx =3D ++transition.charIdx) >=3D =
  1197. transition.textOrder.length )=09
  1198.     {
  1199.         PlayerEntryTransitionDone( objPlayer );                =09
  1200.         return true;                                        =09
  1201.     }
  1202.     else
  1203.     {
  1204.         transition.moveIdx =3D 0;                                =09
  1205.         textElName =3D transition.textOrder[charIdx].name;
  1206.         transition.currentEl =3D document.all[textElName];    =09
  1207.         transition.currentEl.style.visibility =3D IE_VISIBLE;    =09
  1208.         return false;                                        =09
  1209.     }                                                        =09
  1210. }
  1211. var    SND_DUR_SCENE            =3D -1;=09
  1212. var    SND_DUR_PROJECT            =3D 0;=09
  1213. var ST_WAV                    =3D 1;=09
  1214. var    ST_MID                    =3D 2;=09
  1215. var    NAV_EXT                    =3D "nav"=09
  1216. var MidiTag                    =3D null;=09
  1217. function Sound( delay, duration, loop, soundType, tagName, fileName )
  1218. {
  1219. =09
  1220.     this.Initialize =3D InitializeSound;
  1221.     this.Start =3D StartSound;
  1222.     this.Trigger =3D StartSound;
  1223.     this.Stop =3D StopSound;
  1224.     this.StopEverything =3D StopEverythingOnSounds;
  1225. =09
  1226.     this.delay =3D delay;
  1227.     this.duration =3D duration;
  1228.     this.loop =3D loop;
  1229.     this.tagName =3D tagName;
  1230.     this.fileName =3D fileName;
  1231.     this.soundType =3D soundType;
  1232. }
  1233. function InitializeSound( objParent, objSound )
  1234. {
  1235.     if ( sys =3D=3D "Netscape" )
  1236.     {
  1237.         objSound.navLoop =3D (objSound.loop =3D=3D -1) ? true : false;
  1238.         objSound.html =3D document[objSound.tagName+NAV_EXT];
  1239.         return;
  1240.     }
  1241.     objSound.objParent =3D objParent;                =09
  1242.     objSound.html =3D document.all[objSound.tagName];=09
  1243.     objSound.fileName =3D objSound.html.soundsrc;    =09
  1244. =09
  1245. =09
  1246.     if (objSound.soundType =3D=3D ST_MID )
  1247.     {
  1248.         if ( MidiTag =3D=3D null )                    =09
  1249.             MidiTag =3D objSound.html;            =09
  1250.         else
  1251.             objSound.html =3D MidiTag;            =09
  1252.     }        =09
  1253. }
  1254. function StartSound( objSound )
  1255. {
  1256.     if ( sys =3D=3D "Netscape" )                    =09
  1257.     {
  1258.         if ( objSound.html !=3D null )            =09
  1259.             objSound.html.play(objSound.navLoop);
  1260.         return;
  1261.     }
  1262.     objSound.html.src =3D objSound.fileName;        =09
  1263.     objSound.html.loop =3D objSound.loop;            =09
  1264.     if ( objSound.soundType =3D=3D ST_WAV )        =09
  1265.         objSound.html.volume =3D 0;                    =09
  1266.     if ( objSound.duration > 0 )
  1267.         StartOneShotTimer( objSound, objSound.duration, objSound.Stop, =
  1268. TMR_PROJ );
  1269. }
  1270. function StopSound( objSound, fPause )
  1271. {
  1272.     if ( sys =3D=3D "Netscape" )                    =09
  1273.     {
  1274.         if ( objSound.html !=3D null )            =09
  1275.             objSound.html.stop();
  1276.         return;
  1277.     }
  1278.     objSound.html.loop =3D 0;
  1279.     objSound.html.src =3D "";                            =09
  1280.     if ( objSound.soundType =3D=3D ST_WAV )
  1281.         objSound.html.volume =3D -10000;
  1282. }
  1283. function StopEverythingOnSounds( objSound )
  1284. {
  1285.     StopSound( objSound, true );
  1286.     if ( (sys !=3D "Netscape") && (os =3D=3D "NT") )                =09
  1287.         objSound.html.volume =3D -500;                        =09
  1288. }
  1289. var    SND_DUR_SCENE            =3D -1;=09
  1290. var    SND_DUR_PROJECT            =3D 0;=09
  1291. function Swapper( idle, hover, click )
  1292. {
  1293. =09
  1294.     this.Initialize =3D InitializeSwap;
  1295.     this.Start =3D StartSwap;
  1296.     this.Trigger =3D TriggerSwap;
  1297.     this.Stop =3D StopSwap;
  1298.     this.StopEverything =3D StopSwap;
  1299. =09
  1300.     this.idle =3D idle;
  1301.     this.hover =3D hover;
  1302.     this.click =3D click;
  1303. }
  1304. function InitializeSwap( objParent, objSwap )
  1305. {
  1306.     if ( stProjState !=3D PS_UNINITIALIZED )            =09
  1307.         return;
  1308. =09
  1309.     var    idle    =3D objSwap.idle;                        =09
  1310.     var    hover    =3D objSwap.hover;
  1311.     var    click    =3D objSwap.click;
  1312. =09
  1313. =09
  1314. =09
  1315. =09
  1316. =09
  1317. =09
  1318. =09
  1319.     if ( (hover !=3D null) && (hover !=3D "") && (document.all[hover].src =
  1320. !=3D null) )
  1321.     {
  1322.         SetVisibility( document.all[hover], IE_HIDDEN );
  1323.         objSwap.srcHover =3D document.all[hover].src;
  1324.         document.all[hover].src =3D "";
  1325.     }
  1326.     else
  1327.         objSwap.srcHover =3D document.all[idle].src;
  1328.     if ( (click !=3D null) && (click !=3D "") && (document.all[click].src =
  1329. !=3D null) )
  1330.     {
  1331.         SetVisibility( document.all[click], IE_HIDDEN );
  1332.         objSwap.srcClick =3D document.all[click].src;
  1333.         document.all[click].src =3D "";
  1334.     }
  1335.     else
  1336.         objSwap.srcClick =3D document.all[idle].src;
  1337. =09
  1338.     objSwap.srcIdle =3D document.all[idle].src;
  1339. }
  1340. function StartSwap( objSwap )
  1341. {
  1342. =09
  1343. }
  1344. function TriggerSwap( objSwap, eventType )
  1345. {
  1346.     if ( eventType =3D=3D TT_BUTTONDOWN )
  1347.         document.all[objSwap.idle].src =3D objSwap.srcClick;
  1348.     else if ( eventType =3D=3D TT_BUTTONUP )
  1349.         document.all[objSwap.idle].src =3D objSwap.srcHover;
  1350.     else if ( eventType =3D=3D TT_MOUSEOVER )
  1351.         document.all[objSwap.idle].src =3D objSwap.srcHover;
  1352.     else if ( eventType =3D=3D TT_MOUSEOUT )
  1353.         document.all[objSwap.idle].src =3D objSwap.srcIdle;
  1354.     return;
  1355. }
  1356. function StopSwap( objSwap, fPause )
  1357. {
  1358.     if ( fPause )                        =09
  1359.         return;
  1360. }
  1361. var    PATH_PER_TICK =3D new Array(50,40,30,20,10);    =09
  1362. var    PE_STOP        =3D 0;                            =09
  1363. var    PE_AGAIN    =3D 1;                            =09
  1364. var    PE_REV        =3D 2;                            =09
  1365. var    PE_EXIT        =3D 3;                            =09
  1366. var    PD_FWD        =3D 1;
  1367. var    PD_BACK        =3D -1;
  1368. function Point( x, y, rate )
  1369. {
  1370.     this.x =3D x;
  1371.     this.y =3D y;
  1372.     this.rate =3D rate;
  1373. }
  1374. function Paths( delay, edgeEffect )
  1375. {
  1376. =09
  1377.     this.Initialize =3D InitializePathAnimation;
  1378.     this.Start =3D StartPathAnimation;
  1379.     this.Trigger =3D StartPathAnimation;
  1380.     this.Stop =3D StopPathAnimation;
  1381.     this.StopEverything =3D StopPathAnimation;
  1382. =09
  1383.     this.delay =3D delay;
  1384.     this.edgeEffect =3D edgeEffect;
  1385. }
  1386. function InitializePathAnimation( objPlayer, path )
  1387. {
  1388.     var    segment;                                =09
  1389.     var pathIndex;
  1390.     var totalDistance;                            =09
  1391.     var    distanceX;                                =09
  1392.     var    distanceY;
  1393.     var dx;                                        =09
  1394.     var    dy;
  1395.     var travelTime;                                =09
  1396.     var    remX;                                    =09
  1397.     var    remY;
  1398. =09
  1399.     if ( stProjState !=3D PS_UNINITIALIZED )
  1400.     {
  1401.         objPlayer.position.SetPosition( path[0].x, path[0].y );
  1402.         return;
  1403.     }
  1404.     path.objPlayer =3D objPlayer;                    =09
  1405.     halfWidth =3D Math.floor(objPlayer.HTML.offsetWidth/2);    =09
  1406.     halfHeight =3D Math.floor(objPlayer.HTML.offsetHeight/2);
  1407. =09
  1408. =09
  1409.     path[0].x -=3D halfWidth;
  1410.     path[0].y -=3D halfHeight;
  1411.     objPlayer.position.SetPosition( path[0].x, path[0].y );
  1412.     for ( pathIndex=3D0; path[pathIndex+1] !=3D null; pathIndex++ )=09
  1413.     {
  1414.         px =3D parseInt(pathIndex);                =09
  1415.         segment =3D path[px];                        =09
  1416.     =09
  1417.     =09
  1418.     =09
  1419.         path[px+1].x -=3D halfWidth;
  1420.         path[px+1].y -=3D halfHeight;
  1421.     =09
  1422.         distanceX =3D path[px+1].x - segment.x;    =09
  1423.         distanceY =3D path[px+1].y - segment.y;    =09
  1424.     =09
  1425.         totalDistance =3D Math.sqrt( (distanceX*distanceX) + =
  1426. (distanceY*distanceY) );
  1427.     =09
  1428.     =09
  1429.         travelTime =3D Math.round(totalDistance / =
  1430. PATH_PER_TICK[segment.rate]);
  1431.     =09
  1432.     =09
  1433.         if ( distanceX > 0 )                        =09
  1434.             dx =3D Math.floor( distanceX / travelTime );=09
  1435.         else if ( distanceX < 0 )                    =09
  1436.             dx =3D Math.ceil( distanceX / travelTime );=09
  1437.         else
  1438.             dx =3D 0;
  1439.     =09
  1440.     =09
  1441.     =09
  1442.     =09
  1443.         remX =3D distanceX % travelTime;
  1444.     =09
  1445.         if ( distanceY > 0 )                        =09
  1446.             dy =3D Math.floor( distanceY / travelTime );
  1447.         else if ( distanceY < 0 )
  1448.             dy =3D Math.ceil( distanceY / travelTime );
  1449.         else
  1450.             dy =3D 0;
  1451.         remY =3D distanceY % travelTime;
  1452.         segment.number =3D px;                        =09
  1453.         segment.ticks =3D 0;
  1454.         segment.travelTime =3D travelTime;
  1455.         segment.dx =3D dx;
  1456.         segment.dy =3D dy;
  1457.         segment.remX =3D remX;
  1458.         segment.remY =3D remY;
  1459.     }
  1460.     path.numSegs =3D parseInt(pathIndex);                =09
  1461.     path.dir =3D PD_FWD;                                        =09
  1462.     return;
  1463. }
  1464. function StartPathAnimation( path )
  1465. {
  1466.     path.currentSegment =3D path[0];    =09
  1467.     path.currentSegment.ticks =3D 0;    =09
  1468.     path.cntSegs =3D 0;                                =09
  1469. =09
  1470. =09
  1471.     if ( path.dir =3D=3D PD_BACK )                            =09
  1472.     {
  1473.         for ( var ii=3D0; ii<path.numSegs; ii++ )            =09
  1474.         {
  1475.             path[ii].dx *=3D -1;
  1476.             path[ii].dy *=3D -1;
  1477.             path[ii].remX *=3D -1;
  1478.             path[ii].remY *=3D -1;
  1479.         }
  1480.         path.dir =3D PD_FWD;                                =09
  1481.     }
  1482.     StartAnimationTimer( path, PathAnimationTick );
  1483. }
  1484. function StopPathAnimation( path, fPause )
  1485. {
  1486.     return;
  1487. }
  1488. function PathAnimationTick( path )
  1489. {
  1490.     var    objPlayer =3D path.objPlayer;            =09
  1491.     var segment =3D path.currentSegment;        =09
  1492.     var    currentPosition =3D objPlayer.position;=09
  1493.     if ( ++segment.ticks <=3D segment.travelTime )    =09
  1494.     {
  1495.         newX =3D currentPosition.x + segment.dx;        =09
  1496.         if ( segment.ticks <=3D Math.abs(segment.remX) )=09
  1497.             segment.remX > 0 ? newX++ : newX--;
  1498.         newY =3D currentPosition.y + segment.dy;        =09
  1499.         if ( segment.ticks <=3D Math.abs(segment.remY) )=09
  1500.             segment.remY > 0 ? newY++ : newY--;
  1501.         currentPosition.SetPosition( newX, newY );=09
  1502.         return false;                            =09
  1503.     }
  1504. =09
  1505. =09
  1506.     if ( ++path.cntSegs < path.numSegs )
  1507.     {
  1508.     =09
  1509.         path.currentSegment =3D path[segment.number+path.dir];    =09
  1510.         path.currentSegment.ticks =3D 0;                            =09
  1511.             =09
  1512.         return false;
  1513.     }
  1514.     =09
  1515. =09
  1516.     if            ( path.edgeEffect =3D=3D PE_AGAIN )    =09
  1517.     {
  1518.     =09
  1519.         objPlayer.position.SetPosition( path[0].x, path[0].y );
  1520.     =09
  1521.         path.currentSegment =3D path[0];                =09
  1522.         path.currentSegment.ticks =3D 0;                =09
  1523.         path.cntSegs =3D 0;                            =09
  1524.         return false;                                =09
  1525.     }                        =09
  1526.     else if        ( path.edgeEffect =3D=3D PE_REV )        =09
  1527.     {
  1528.         path.dir *=3D -1;                                =09
  1529.     =09
  1530.         for ( var ii=3D0; ii<path.numSegs; ii++ )
  1531.         {
  1532.             path[ii].dx *=3D -1;
  1533.             path[ii].dy *=3D -1;
  1534.             path[ii].remX *=3D -1;
  1535.             path[ii].remY *=3D -1;
  1536.         }
  1537.         path.currentSegment.ticks =3D 0;                =09
  1538.         path.cntSegs =3D 0;                            =09
  1539.         return false;
  1540.     }
  1541.     else if        ( path.edgeEffect =3D=3D PE_EXIT )
  1542.     {
  1543.         PlayerExit( objPlayer );
  1544.         return true;
  1545.     }
  1546.     else
  1547.         return true;                                =09
  1548. }
  1549. var    GROW_PER_TICK =3D new Array(20,14,8,4,1);    =09
  1550. function Size( zoom, rate )
  1551. {
  1552.     this.zoom =3D zoom;
  1553.     this.rate =3D rate;
  1554. }
  1555. function Grows( delay )
  1556. {
  1557. =09
  1558.     this.Initialize =3D InitializeGrowAnimation;
  1559.     this.Start =3D StartGrowAnimation;
  1560.     this.Trigger =3D StartGrowAnimation;
  1561.     this.Stop =3D StopGrowAnimation;
  1562.     this.StopEverything =3D StopGrowAnimation;
  1563. =09
  1564.     this.delay =3D delay;
  1565. }
  1566. function InitializeGrowAnimation( objPlayer, grow )
  1567. {
  1568.     if ( sys =3D=3D "Netscape" )
  1569.         return;
  1570.     var    child =3D objPlayer.HTML.children[0];                    =09
  1571.     var playerType =3D GetPlayerTypeFromName( objPlayer.name );=09
  1572. =09
  1573. =09
  1574. =09
  1575.     if ( stProjState =3D=3D PS_UNINITIALIZED )
  1576.     {
  1577.         grow.realWidth =3D child.width;
  1578.         grow.realHeight =3D child.height;
  1579.     }
  1580.     if ( (playerType =3D=3D PLAYER_TEXT) || sys =3D=3D "Netscape" )=09
  1581.     {
  1582.         grow =3D null;                                        =09
  1583.         return;
  1584.     }
  1585.     grow.objPlayer =3D objPlayer;                                =09
  1586. =09
  1587.     grow.currentSegment =3D grow[0];                            =09
  1588.     grow.currentGrowth =3D grow.currentSegment.zoom;            =09
  1589. =09
  1590. =09
  1591. =09
  1592.     child.width *=3D (grow.currentSegment.zoom / 100);        =09
  1593.     child.height *=3D (grow.currentSegment.zoom / 100);
  1594. =09
  1595.     for ( var growIndex=3D0; grow[growIndex] !=3D null; growIndex++ )=09
  1596.     {
  1597.         gx =3D parseInt(growIndex);                =09
  1598.         segment =3D grow[gx];                        =09
  1599.         if ( grow[gx+1] =3D=3D null )                =09
  1600.         {
  1601.             grow.finalSegment =3D grow[gx-1];        =09
  1602.             break;                                =09
  1603.         }
  1604.     =09
  1605.         growth =3D grow[gx+1].zoom - segment.zoom;                =09
  1606.         if ( growth >=3D 0 )                                        =09
  1607.             growthFactor =3D GROW_PER_TICK[segment.rate];            =09
  1608.         else
  1609.             growthFactor =3D -(GROW_PER_TICK[segment.rate]);
  1610.     =09
  1611.         growthTicks =3D growth / growthFactor;        =09
  1612.     =09
  1613.         segment.number =3D gx;                        =09
  1614.         segment.growth =3D growth;
  1615.         segment.growthFactor =3D growthFactor;
  1616.         segment.growthTicks =3D growthTicks;
  1617.         segment.currentTicks =3D 0;
  1618.     }
  1619. }
  1620. function StartGrowAnimation( grow )
  1621. {=09
  1622.     if ( sys =3D=3D "Netscape" )
  1623.         return;
  1624.     grow.currentSegment =3D grow[0];                        =09
  1625.     grow.currentTicks =3D 0;
  1626.     StartAnimationTimer( grow, GrowAnimationTick );
  1627. }
  1628. function StopGrowAnimation( grow, fPause )
  1629. {
  1630.     return;
  1631. }
  1632. function GrowAnimationTick( grow )
  1633. {
  1634.     if ( sys =3D=3D "Netscape" )
  1635.         return true;                                    =09
  1636.     var    objPlayer =3D grow.objPlayer;                        =09
  1637.     var    child =3D objPlayer.HTML.children[0];                =09
  1638.     var segment =3D grow.currentSegment;                    =09
  1639.     grow.currentGrowth +=3D segment.growthFactor;            =09
  1640.     child.width =3D grow.realWidth*(grow.currentGrowth/100);=09
  1641.     child.height =3D grow.realHeight*(grow.currentGrowth/100);
  1642.     if ( ++grow.currentTicks <=3D segment.growthTicks )    =09
  1643.         return false;                                    =09
  1644.     if ( grow.currentSegment =3D=3D grow.finalSegment )        =09
  1645.         return true;                                    =09
  1646.     grow.currentSegment =3D grow[ segment.number+1 ];        =09
  1647.     grow.currentTicks =3D 0;
  1648.     return false;                                        =09
  1649. }
  1650. function Timer()
  1651. {
  1652.     if ( Project.tickRate =3D=3D null )        =09
  1653.         this.tickRate =3D DEFAULT_TICK_RATE;
  1654.     else
  1655.         this.tickRate =3D Project.tickRate;
  1656.     this.oneShots =3D new Array();
  1657.     this.animations =3D new Array();
  1658.     this.tickCounter =3D 0;                        =09
  1659.     this.ticksPerSecond =3D 1000 / (this.tickRate);=09
  1660.     this.timerID =3D null;
  1661.     this.StartTicking =3D StartTicking;            =09
  1662.     this.StopTicking =3D StopTicking;
  1663. =09
  1664. }
  1665. function StartTicking()
  1666. {
  1667.     if ( this.timerID =3D=3D null )
  1668.         this.timerID =3D setInterval( "TimerTick()", this.tickRate );
  1669. }
  1670. function StopTicking()
  1671. {
  1672.     if ( this.timerID !=3D null )
  1673.         clearInterval( this.timerID );
  1674.     this.timerID =3D null;
  1675. }
  1676. function TimerTick()
  1677. {
  1678.     var timerEvent;
  1679. =09
  1680.     for ( var ii=3D0; ii<tickTimer.animations.length; ii++ )    =09
  1681.     {
  1682.         if ( (timerEvent=3DtickTimer.animations[ii]) =3D=3D null )=09
  1683.             continue;                                        =09
  1684.         if ( timerEvent.callback( timerEvent.callbackObj ) =3D=3D true )=09
  1685.             tickTimer.animations[ii] =3D null;                =09
  1686.     }
  1687. =09
  1688.     if ( (++tickTimer.tickCounter % tickTimer.ticksPerSecond) =3D=3D 0 )=09
  1689.     {
  1690.     =09
  1691.         var length =3D tickTimer.oneShots.length;                =09
  1692.         for ( var ii=3D0; ii<length && (tickTimer!=3Dnull); ii++ )=09
  1693.         {
  1694.             if ( (timerEvent=3DtickTimer.oneShots[ii]) =3D=3D null )=09
  1695.                 continue;                                    =09
  1696.         =09
  1697.             if ( timerEvent.time <=3D tickTimer.tickCounter )    =09
  1698.             {
  1699.                 tickTimer.oneShots[ii] =3D null;                =09
  1700.                 timerEvent.callback( timerEvent.callbackObj );=09
  1701.             }
  1702.         }
  1703.     }
  1704.     return;
  1705. }
  1706. function StartOneShotTimer( obj, time, callback, type )
  1707. {
  1708.     var    timerIndex;                                =09
  1709.     var timerEvent =3D new Object();                =09
  1710. =09
  1711.     timerEvent.callbackObj =3D obj;                =09
  1712.     timerEvent.callback =3D callback;                =09
  1713.     timerEvent.type =3D type;                        =09
  1714. =09
  1715. =09
  1716.     timerEvent.time =3D tickTimer.tickCounter + (time * =
  1717. tickTimer.ticksPerSecond);
  1718.     for ( timerIndex=3D0; tickTimer.oneShots[timerIndex]!=3Dnull; =
  1719. timerIndex++ );=09
  1720.     tickTimer.oneShots[timerIndex] =3D timerEvent;=09
  1721.     return;
  1722. }
  1723. function StartAnimationTimer( obj, callback )
  1724. {
  1725.     var timerIndex;=20
  1726.     timerEvent =3D new Object();
  1727.     timerEvent.callbackObj =3D obj;                =09
  1728.     timerEvent.callback =3D callback;                =09
  1729.     for ( timerIndex=3D0; tickTimer.animations[timerIndex]!=3Dnull; =
  1730. timerIndex++);=09
  1731.     tickTimer.animations[timerIndex] =3D timerEvent;
  1732. }
  1733. function StopSceneTimers()
  1734. {
  1735.     for (var ii=3D0; ii<tickTimer.oneShots.length; ii++)=09
  1736.     {
  1737.         if ( tickTimer.oneShots[ii] =3D=3D null )        =09
  1738.             continue;
  1739.         if ( tickTimer.oneShots[ii].type =3D=3D TMR_SCENE )
  1740.             tickTimer.oneShots[ii] =3D null;            =09
  1741.     }
  1742. =09
  1743.     for (var ii=3D0; ii<tickTimer.animations.length; ii++)
  1744.         tickTimer.animations[ii] =3D null;
  1745. }
  1746. =09
  1747. function KillTimer()
  1748. {
  1749.     if ( tickTimer !=3D null )                    =09
  1750.     {
  1751.         window.clearTimeout( tickTimer.timerID);=09
  1752.         tickTimer =3D null;                        =09
  1753.     }
  1754. }
  1755. function SetColor(el, color)=20
  1756. {
  1757.     if ( el.style =3D=3D null )                =09
  1758.         return;
  1759. =09
  1760.     el.style.backgroundColor =3D color;    =09
  1761.     if ("Netscape"=3D=3Dsys)=20
  1762.         el.NSLayer.bgColor =3D color;        =09
  1763. }
  1764. function SetZIndex(el, zindex)=20
  1765. {
  1766.     if ( el.style =3D=3D null )                =09
  1767.         return;
  1768. =09
  1769.     el.style.zIndex =3D zindex;            =09
  1770.     if ("Netscape"=3D=3Dsys)=20
  1771.         el.NSLayer.zIndex =3D zindex        =09
  1772. }
  1773. function SetVisibility(el, val)=20
  1774. {
  1775.     if ( el.style =3D=3D null )                =09
  1776.         return;
  1777.     el.style.visibility =3D val;            =09
  1778.        =20
  1779.     if ( "Netscape"=3D=3Dsys )                =09
  1780.     {
  1781.         if        ( val =3D=3D IE_HIDDEN )
  1782.             el.NSLayer.visibility =3D NAV_HIDDEN;
  1783.         else if ( val =3D=3D IE_VISIBLE )
  1784.             el.NSLayer.visibility =3D NAV_VISIBLE;
  1785.         else if ( val =3D=3D IE_INHERIT )
  1786.             el.NSLayer.visibility =3D NAV_INHERIT;
  1787.         else
  1788.             el.NSLayer.visibility =3D "";
  1789.     }
  1790. }
  1791. function Position( obj )
  1792. {
  1793.     this.object =3D obj;                        =09
  1794.     this.x =3D obj.HTML.style.pixelLeft;        =09
  1795.     this.y =3D obj.HTML.style.pixelTop;        =09
  1796.     this.SetPosition =3D SetPosition;
  1797. }
  1798. function SetPosition( newX, newY )=20
  1799. {
  1800.     var el =3D this.object.HTML;                =09
  1801.     if ( el.style =3D=3D null )                    =09
  1802.         return;
  1803.                 =09
  1804.     el.style.pixelTop =3D newY;    =09
  1805.     el.style.pixelLeft =3D newX;
  1806.     this.x =3D newX;                            =09
  1807.     this.y =3D newY;
  1808.     if ( "Netscape"=3D=3Dsys )                    =09
  1809.     {
  1810.         el.NSLayer.top =3D parseInt( newY );
  1811.         el.NSLayer.left =3D parseInt( newX );
  1812.         el.offsetTop =3D el.NSLayer.top;
  1813.         el.offsetLeft =3D el.NSLayer.left;
  1814.     }
  1815. }
  1816. function SetContent(el, content)=20
  1817. {
  1818.     if ( el.style =3D=3D null )                    =09
  1819.         return;
  1820.     if ( "Netscape"=3D=3Dsys )                    =09
  1821.     {
  1822.         el.NSLayer.document.open();            =09
  1823.         el.NSLayer.document.write(content);    =09
  1824.         el.NSLayer.document.close();        =09
  1825.     }
  1826.     else                                    =09
  1827.         el.innerHTML=3Dcontent;
  1828. }
  1829. function SetupButtons()
  1830. {
  1831.     var rtn =3D false;                    =09
  1832.     if ( document.all.Pause !=3D null )
  1833.     {
  1834.         document.all.Pause.onclick =3D Pause;
  1835.         strPause =3D document.all.Pause.value.split( '/' );
  1836.         document.all.Pause.value =3D strPause[0];
  1837.     }
  1838.     if (document.all.Stop !=3D null )
  1839.         document.all.Stop.onclick =3D Stop;
  1840.     if ( document.all.Forward !=3D null )
  1841.         document.all.Forward.onclick =3D Forward;
  1842.     if ( document.all.Backward !=3D null )
  1843.         document.all.Backward.onclick =3D Backward;
  1844.     if ( document.all.Webpage !=3D null )
  1845.         document.all.Webpage.onclick =3D GotoWebpage;
  1846.     if ( document.all.SceneStatus !=3D null )
  1847.         formStatus =3D document.all.SceneStatus;
  1848.     if ( document.all.Start !=3D null )
  1849.     {
  1850.         document.all.Start.onclick =3D Start;
  1851.         strPlay =3D document.all.Start.value.split( '/' );
  1852.         document.all.Start.value =3D strPlay[0];
  1853.         rtn =3D true;
  1854.     }
  1855.     else
  1856.         rtn =3D false;
  1857.     if ( document.all.NavigationButtons !=3D null )
  1858.         SetVisibility( document.all.NavigationButtons, IE_VISIBLE );
  1859.     return rtn;
  1860. }
  1861. function Start()
  1862. {
  1863.     if ( stNoInput )                                    =09
  1864.         return;
  1865.     if ( stButtons =3D=3D true )                            =09
  1866.     {
  1867.         document.all.Start.value =3D strPlay[1];
  1868.         if ( document.all.Pause !=3D null )
  1869.         {
  1870.             document.all.Pause.value =3D strPause[0];
  1871.         }
  1872.     }
  1873.     if            ( (stProjState =3D=3D PS_RUNNING) || (stProjState =3D=3D =
  1874. PS_PAUSED) )=09
  1875.     {
  1876.         ProjectShutdown();
  1877.         ProjectInitialize();
  1878.     }
  1879.     else if        ( stProjState !=3D PS_INITIALIZED )    =09
  1880.         ProjectInitialize();
  1881.     ProjectStart();                                    =09
  1882. }
  1883. function Pause()
  1884. {
  1885. =09
  1886.     if ( stProjState =3D=3D PS_PAUSED )                    =09
  1887.     {
  1888.         tickTimer.StartTicking();                    =09
  1889.         if ( document.all.Pause !=3D null )
  1890.         {
  1891.             document.all.Pause.value =3D strPause[0];
  1892.         }
  1893.         stProjState =3D PS_RUNNING;
  1894.         StatusChange();                                =09
  1895.     }
  1896.     else
  1897.     {
  1898.         if ( tickTimer !=3D null )                    =09
  1899.             tickTimer.StopTicking();                =09
  1900.         if    ( stProjState !=3D PS_RUNNING )            =09
  1901.             return;
  1902.         stProjState =3D PS_PAUSED;
  1903.         if ( document.all.Pause !=3D null )
  1904.         {
  1905.             document.all.Pause.value =3D strPause[1];
  1906.         }
  1907.         StopEverythingOnScenes( true );                =09
  1908.         StatusChange();                                =09
  1909.     }
  1910. }
  1911. function Stop()
  1912. {
  1913.     if ( stNoInput )                                    =09
  1914.         return;
  1915.     location.reload();
  1916. }
  1917. function Forward()
  1918. {
  1919.     if ( stNoInput )                                    =09
  1920.         return;
  1921. =09
  1922.     if ( stProjState !=3D PS_RUNNING )
  1923.         return;
  1924.     SceneExit( currentScene );                =09
  1925. }
  1926. function Backward()
  1927. {
  1928.     if ( stNoInput )                                    =09
  1929.         return;
  1930.     var nextScene;
  1931. =09
  1932. =09
  1933. =09
  1934.     if        ( stProjState =3D=3D PS_COMPLETE )
  1935.         nextScene =3D Project.stopScene;
  1936.     else if ( stProjState !=3D PS_RUNNING )
  1937.         return;
  1938.     else
  1939.         nextScene =3D (currentScene.number =3D=3D 0) ? 0 : currentScene.number =
  1940. - 1;
  1941.     ProjectShutdown();
  1942.     ProjectInitialize();
  1943.     ProjectStart( nextScene );            =09
  1944. }
  1945. function GotoWebpage()
  1946. {
  1947.     window.open( Project.webpage);                    =09
  1948. }
  1949. function StatusChange( )
  1950. {
  1951.     var        stsPage =3D null;                =09
  1952.     var        stsState =3D null;            =09
  1953.     if        ( stProjState =3D=3D PS_UNINITIALIZED )
  1954.     {
  1955.         stsState =3D "Initializing";
  1956.         stsPage =3D ""
  1957.     }
  1958.     else if ( stProjState =3D=3D PS_INITIALIZED )
  1959.     {
  1960.         stsState =3D "Ready";
  1961.         stsPage =3D "";
  1962.     }
  1963.     else if    ( stProjState =3D=3D PS_RUNNING )
  1964.     {
  1965.         stsState =3D "Playing";
  1966.         stsPage =3D (currentScene.number+1) + " / " + nScenes;
  1967.     }
  1968.     else if    ( stProjState =3D=3D PS_PAUSED )
  1969.         stsState =3D "Paused";
  1970.     else if    ( stProjState =3D=3D PS_COMPLETE )
  1971.         stsState =3D "Complete";
  1972. =09
  1973.     if ( (formStatus !=3D null) && (stsPage !=3D null) )
  1974.         formStatus.value =3D stsPage;
  1975. =09
  1976.     if ( stsState !=3D null )
  1977.         top.status =3D stsState;=20
  1978. }
  1979. function GetSceneFromNumber( sceneNum )
  1980. {
  1981.     return sceneArray[sceneNum];    =09
  1982. }
  1983. function GetPlayerFromName( playerName )
  1984. {
  1985.     var objPlayer;
  1986. =09
  1987. =09
  1988.     if ( (currentScene) && (currentScene.Players !=3Dnull) && ((objPlayer =
  1989. =3D currentScene.Players[playerName]) !=3D null) )                                                            =09
  1990.         return objPlayer;                    =09
  1991. =09
  1992.     var objScene;
  1993.     for ( sceneName in Scenes )                    =09
  1994.     {
  1995.         objScene =3D Scenes[sceneName];
  1996.         if ( objScene.Players !=3D null )
  1997.         {
  1998.             objPlayer =3D objScene.Players[playerName];
  1999.             if ( objPlayer !=3D null )
  2000.                 return objPlayer;                    =09
  2001.         }
  2002.     }=09
  2003.         =09
  2004.     return null;                                =09
  2005. }
  2006. function GetObjectTypeFromName( nameString )
  2007. {
  2008.     var type =3D nameString.substr(0,1);    =09
  2009.     if        ( type =3D=3D NAME_SCENE )        =09
  2010.         return OBJ_SCENE;
  2011.     else if    ( type =3D=3D NAME_PLAYER )        =09
  2012.         return OBJ_PLAYER;
  2013. }
  2014. function GetPlayerTypeFromName( nameString )
  2015. {
  2016.     var type =3D nameString.substr(1,1);    =09
  2017.     if        ( type =3D=3D PLAYER_NAME_IMAGE )    =09
  2018.         return PLAYER_IMAGE;
  2019.     else if    ( type =3D=3D PLAYER_NAME_DRAW )    =09
  2020.         return PLAYER_DRAW;
  2021.     else if    ( type =3D=3D PLAYER_NAME_TEXT )    =09
  2022.         return PLAYER_TEXT;
  2023. }
  2024. function resetGifAnimation()
  2025. {
  2026.     var temp =3D document.all["img1"].src;
  2027.     document.all["img1"].src =3D temp;
  2028. }
  2029. Project =3D new Project(50, 0, 0, 2, 1, 0, =
  2030. "http://home-publishing.com/SKU/V3Pub.asp");
  2031. Scenes =3D new Object();
  2032. Scenes.Sx1 =3D new Scene( 8 );
  2033. Scenes.Sx1.entryTrans =3D new Transition( 12, 0, 0, 0 );
  2034. Scenes.Sx1.Bhv =3D new Array();
  2035. Scenes.Sx1.Bhv[0] =3D new Sound( -1, -1, 0, 1, "AW29", =
  2036. "cid:082101bd9577$fe4c44e0$6e59389d@a-lingra.dns.microsoft.com" );
  2037. Scenes.Sx1.Bhv[1] =3D new Sound( -1, -1, -1, 2, "AW30", =
  2038. "cid:095201bdad04$df6737c0$6e59389d@a-lingra.dns.microsoft.com" );
  2039. Scenes.Sx1.Players =3D new Object();
  2040. Scenes.Sx1.Players.PD10 =3D new Player( 0, -1 );
  2041. Scenes.Sx1.Players.PD10.entryTrans =3D new Transition( 12, 2, 0, 0 );
  2042. Scenes.Sx1.Players.PD6 =3D new Player( 0, -1 );
  2043. Scenes.Sx1.Players.PD6.Bhv =3D new Array();
  2044. Scenes.Sx1.Players.PD6.Bhv[0] =3D new Paths( 0, 0 );
  2045. Scenes.Sx1.Players.PD6.Bhv[0][0] =3D new Point( 109, 400, 2 );
  2046. Scenes.Sx1.Players.PD6.Bhv[0][1] =3D new Point( 536, 401, 2 );
  2047. Scenes.Sx1.Players.PD6.entryTrans =3D new Transition( 12, 2, 0, 0 );
  2048. Scenes.Sx1.Players.PT12 =3D new Player( 1, -1 );
  2049. Scenes.Sx1.Players.PT12.entryTrans =3D new Transition( 101, 3, 2, 3 );
  2050.  
  2051. </SCRIPT>
  2052. </BODY></HTML>
  2053.  
  2054. ------=_NextPart_001_02B5_01BDBE5C.4DED54F0--
  2055.  
  2056. ------=_NextPart_000_02B4_01BDBE5C.4DED54F0
  2057. Content-Type: image/gif
  2058. Content-Transfer-Encoding: base64
  2059. Content-ID: <02a901bdbe96$f9c43840$ed5d389d@superwonker.dns.microsoft.com>
  2060. X-Content-Source: C:\TEMP\IMG5B.GIF
  2061.  
  2062. R0lGODlhOwIhA/f/AP39/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2063. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2064. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2065. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2066. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2067. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2068. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2069. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2070. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2071. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2072. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2073. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2074. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2075. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP39/SH5BAEBAP8ALAAAAAA7AiED
  2076. QAiuAP8JHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOKHEmypMmTKFOqXMmypcuX
  2077. MGPKnEmzps2bOHPq3Mmzp8+fQIMKHUq0qNGjSJMqXcq0qdOnUKNKnUq1qtWrWLNq3cq1q9evYMOK
  2078. HUu2rNmzaNOqXcu2rdu3cOPKnUu3rt27ePPq3cu3r9+/gAMLHky4sOHDiBMrXsy4sePHkCNLnky5
  2079. suXLmDNrSN7MubPnz6BDix5NurTp06hTq17NurXr17Bjy55Nu7bt27hz697Nu7fv38CDCx9OvLjx
  2080. 48iTK1/OvLnz59CjS59Ovbr169izaznfzr279+/gw4sfT768+fPo06tfz769+/fw48ufT7++/fv4
  2081. 8+vfz7+///8ABijggAQWaOCBCCao4II0DDbo4IMQRijhhBRWaOGFGGao4YYcdujhhyCGKOKIJJZo
  2082. 4okopqjiiiy26OKLMMYo44w01i1o44045qjjjjz26OOPQAYp5JBEFmnkkUgmqeSSTDbp5JNQRinl
  2083. lFRWaeWVWGYpqeWWXHbp5ZdghinmmGSWaeaZaKap5ppstunmm3DGKeecdNZp55145qkn55589unn
  2084. n4AGKuighBZq6KGIJqrooow26uijkEYq6aSUVmrppZhmI6rpppx26umnoIYq6qiklmrqqaimquqq
  2085. rLbq6quwxirrrLTWImrrrbjmquuuvPbq66/ABivssMQWa+yxyCar7LLMNuvss9AfRivttNRWa+21
  2086. 2Gar7bbcduvtt+CGK+645JZr7rnoph6r7rrstuvuu/DGK++89NZr77345qvvvvz26++/AAccLPDA
  2087. BBds8MEIJ6zwwgw37PDDEEcs8cQUV2zxxRsYZ6zxxhx37PHHIIcs8sgkl2zyySinrPLKLLca7PLL
  2088. MMcs88w012zzzTjnrPPOPPfs889ABy0b9NBEF2300UgnrfTSTDft9NNQRy311FRXbfXVF1hnrfXW
  2089. XHft9ddghy322GSXbfbZaKetGfbabLft9ttwxy333HTXbffdeOet99589+0X99+ABy744IQXbvjh
  2090. iCeu+OKMN+7445AWRy755JRXbvnlmGeu+eacd+7556CHLhf66KSXbvrpqKeu+uqst+7667DHLvvs
  2091. tBXXbvvtuOeu++689+7778AHL/zwxBcUb/zxyCev/PLMN+/889BHL/301FcVb/312Gev/fbcd+/9
  2092. 9+CHL/745JdvFP756Kev/vrst+/++/DHL//89NdvFP/9+Oev//789+///wAMoAAHSMACFhrwgAhM
  2093. oAIXyMAGOvCBEIygBCdIwQoUWvCCGMygBjfIwQ568IMgDKEIR0gUwhKa8IQoTKEKV8jCFrrwhTCM
  2094. oQwUZ0jDGtrwhjjMoQ53yMMe+vCHQAwUohCHSMQiGvGISEyiEpfIxCY68YkTUIyiFKdIxSpa8YpY
  2095. zKIWt8jFLhN68YtgDKMYx0jGMprxjGhMoxrXE8jGNrrxjXCMoxznSMc62vGOeMwSox73yMc++vGP
  2096. gAykIAdJyEIaEvKQiEykIhfJyEY68pGQjKQkJxJJyUpa8pKYzKQmN8nJTnryk6ASDKUoR0nKUpry
  2097. lKhMpSpXycpWErrylbCMpSxnScta2vKWuMylLgV3GceAAAA7
  2098.  
  2099. ------=_NextPart_000_02B4_01BDBE5C.4DED54F0
  2100. Content-Type: image/gif
  2101. Content-Transfer-Encoding: base64
  2102. Content-ID: <077601bd9573$8fb19700$6e59389d@a-lingra.dns.microsoft.com>
  2103. X-Content-Source: C:\WINDOWS\TEMP\IMG134.GIF
  2104.  
  2105. R0lGODlhGgAyA/cAAP39/f///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2106. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2107. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2108. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2109. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2110. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2111. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2112. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2113. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2114. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2115. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2116. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2117. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2118. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAAALAAAAAAaADID
  2119. QAi9AAMIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOKHEmypMmTKFOqXMmypcuX
  2120. MGPKnEmzps2bOHPq3Mmzp8+fQIMKHUq0qNGjSDECWMq0qdOnTpNKnUq1qtWrWLNq3cq1q9evYMOK
  2121. HUu2rNmzaNOqXcu2rdu3cOPKnUu3rt27ePPq3cu3r9+/gAMLHky4sOHDiBMrXsy4sePHkCNLnky5
  2122. suXLmP1C3cx5aebPoEOLHk26tOnTQahTq17NurXr17Bjy55Nu7bt27hz697Nu7fv38CDCx9OvLjx
  2123. 48iTK1/OvLnz59CjS59Ovbr169iz4+3Mvbv3pwEBADs=
  2124.  
  2125. ------=_NextPart_000_02B4_01BDBE5C.4DED54F0
  2126. Content-Type: image/gif
  2127. Content-Transfer-Encoding: base64
  2128. Content-ID: <07c101bd9574$038d9fc0$6e59389d@a-lingra.dns.microsoft.com>
  2129. X-Content-Source: C:\WINDOWS\TEMP\IMG3221.GIF
  2130.  
  2131. R0lGODlhGgAyA/cAADMAM/39/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2132. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2133. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2134. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2135. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2136. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2137. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2138. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2139. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2140. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2141. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2142. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2143. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2144. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAEALAAAAAAaADID
  2145. QAi9AAEIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOKHEmypMmTKFOqXMmypcuX
  2146. MGPKnEmzps2bOHPq3Mmzp8+fQIMKHUq0qNGjSDEGWMq0qdOnTpNKnUq1qtWrWLNq3cq1q9evYMOK
  2147. HUu2rNmzaNOqXcu2rdu3cOPKnUu3rt27ePPq3cu3r9+/gAMLHky4sOHDiBMrXsy4sePHkCNLnky5
  2148. suXLmP1C3cx5aebPoEOLHk26tOnTQahTq17NurXr17Bjy55Nu7bt27hz697Nu7fv38CDCx9OvLjx
  2149. 48iTK1/OvLnz59CjS59Ovbr169iz4+3Mvbv3pwEBADs=
  2150.  
  2151. ------=_NextPart_000_02B4_01BDBE5C.4DED54F0
  2152. Content-Type: audio/wav
  2153. Content-Transfer-Encoding: 7bit
  2154. Content-ID: <082101bd9577$fe4c44e0$6e59389d@a-lingra.dns.microsoft.com>
  2155. X-Content-Source: X:\v3Contnt\clipmed\sound\WAV_v2\beefak02.wav
  2156. X-Global-Moniker: :HOMESNMM\MAIN\BEEFAK02.WAV
  2157.  
  2158.  
  2159. ------=_NextPart_000_02B4_01BDBE5C.4DED54F0
  2160. Content-Type: audio/midi
  2161. Content-Transfer-Encoding: 7bit
  2162. Content-ID: <095201bdad04$df6737c0$6e59389d@a-lingra.dns.microsoft.com>
  2163. X-Content-Source: J:\mmcdrops\Latest\Homesnmm\Spooks01.mid
  2164. X-Global-Moniker: :HOMESNMM\MAIN\SPOOKS01.MID
  2165.  
  2166.  
  2167. ------=_NextPart_000_02B4_01BDBE5C.4DED54F0
  2168. Content-Type: image/gif
  2169. Content-Transfer-Encoding: 7bit
  2170. Content-ID: <072201bd9572$7ba58f60$6e59389d@a-lingra.dns.microsoft.com>
  2171. X-Content-Source: X:\v3Contnt\clipmed\mmclips\b200_209\Bd20532_.gif
  2172. X-Global-Moniker: :HOMEPREM\MAIN\HMPRDIR1\BD20532_.GIF
  2173.  
  2174.  
  2175. ------=_NextPart_000_02B4_01BDBE5C.4DED54F0
  2176. Content-Type: application/x-font
  2177. Content-Transfer-Encoding: 7bit
  2178. Content-ID: <02b201bdbe96$fa36d030$ed5d389d@superwonker.dns.microsoft.com>
  2179. X-Content-Source: Tempus Sans ITC.eot
  2180.  
  2181.  
  2182. ------=_NextPart_000_02B4_01BDBE5C.4DED54F0--
  2183.